In this Php tutorial 6, we are gonna to study about php basic string functions that a developer must know.
The two main string functions in php are
- String Length
- String Position
This function is used to find the length of the string.
- strlen("string") or strlen(stringname)
This function is used to find the position of the string.
- strpos("string","a letter or word to find its position");
Note : Count of string will be start by 0.