Check if a string begins with another string

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

The counterpart of this snippet: [][1]

This one checks if a strings begins with another string. Again, third paramter is optional, if you don't set it, the comparison will be case-sensitive.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.