≡ Menu

substr

PHP Find / Extract Substrings

Q. How do I find out if a string stored in a variable contains a particular substring using PHP? How do I find out (extract) first 5 character of a particular string using Apache and PHP?
[click to continue…]