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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
