stancell on 04/21/08
Last Edited at 04/21/08 12:51pm
function string_ends_with($string, $ending){ $len = strlen($ending); $string_end = substr($string, strlen($string) - $len); return $string_end == $ending;}
Report this snippet Tweet
Comment:
You need to login to post a comment.