Posted By


drwitt on 02/08/07

Tagged


Statistics


Viewed 653 times
Favorited by 1 user(s)

String_Begins_With


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function String_Begins_With($needle, $haystack {
  2. return (substr($haystack, 0, strlen($needle))==$needle);
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.