olive on 01/26/10
Last Edited at 01/26/10 07:43am
$result_string = substr($string1,0,strpos($string1,$needle));
Report this snippet Tweet
Comment:
You need to login to post a comment.