Advertisements
Advertisements
प्रश्न
Explain any two string manipulation function.
संक्षेप में उत्तर
Advertisements
उत्तर
| Function | Description |
| strlen() | Returns the length of a string (i.e. total no. of characters) |
| str_word_count() | Counts the number of words in a string |
| strrev() | Reverses a string |
| strpos() | Searches for a specific text within a string and returns the character position of the first match and if no match is found, then it will return false |
| str_replace() | Replaces some characters with some other characters in a string |
shaalaa.com
PHP String Functions
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
