PHP String Functions Part 2 - English

6454 visits



Outline:

PHP String Functions (Part 2) strrev(string) -This function is used to reverse the inputed string strtolower(string) -This function is used to convert all alphabatic characters in string to thier small/lower case form. strtoupper(string) -This function is used to convert all alphabatic characters in string to thier capital/upper case form. substr_count(string,sub_string,) -This counts the no of substrings matching the particular value in string. It retuns an integer value. substr_replace(original_string,string_to_replace) -This function replaces the cuntent of substring into original string.