Posted By

gbot on 03/10/08


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

gbot


String begins with


 / Published in: PHP
 

  1. function strBeginsWith($string, $search) {
  2. return (strncmp($string, $search, strlen($search)) == 0);
  3. }

Report this snippet  

You need to login to post a comment.