/ Published in: PHP
The counterpart of this snippet: [http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/][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.
[1]: http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/
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.
[1]: http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/
Expand |
Embed | Plain Text