PHP String Functions Complete Reference
Strings are the collection of characters. For example, ‘G’ is the character and ‘GeeksforGeeks’ is the string.
Installation: These functions are not required any installation. These are the part of PHP core.
The complete list of PHP string functions are given below:
- PHP | addcslashes() Function
- PHP | addslashes() Function
- PHP | bin2hex() Function
- PHP | chop() Function
- PHP | chr() Fucntion
- PHP | chunk_split() Function
- PHP | convert_uudecode() Function
- PHP | convert_uuencode() Function
- PHP | count_chars() Function
- PHP | crc32() Function
- PHP | crypt() Function
- PHP | echo
- PHP | explode() Function
- PHP | hex2bin() Function
- PHP | implode() Function
- PHP | join() Function
- PHP | lcfirst() Function
- PHP | levenshtein() Function
- PHP | ltrim() Function
- PHP | md5_file() Function
- PHP | md5() Function
- PHP | metaphone() Function
- PHP | nl2br() Function
- PHP | number_format() Function
- PHP | ord() Function
- PHP | parse_str() Function
- PHP | quoted_printable_decode() Function
- PHP | quoted_printable_encode() Function
- PHP | quotemeta() Function
- PHP | rtrim() Function
- PHP | sha1_file() Function
- PHP | sha1() Function
- PHP | similar_text() Function
- PHP | soundex() Function
- PHP | str_pad() Function
- PHP | str_repeat() Function
- PHP | str_replace() Function
- PHP | str_rot13() Function
- PHP | str_shuffle() Function
- PHP | str_split() Function
- PHP | str_word_count() Function
- PHP | strcasecmp() Function
- PHP | strchr() Function
- PHP | strcmp() Function
- PHP | strcoll() Function
- PHP | strcspn() Function
- PHP | strip_tags() Function
- PHP | stripos() Function
- PHP | stripslashes() Function
- PHP | stristr() Function
- PHP | strlen() Function
- PHP | strnatcasecmp() Function
- PHP | strnatcmp() function
- PHP | strncasecmp() Function
- PHP | strncmp() Function
- PHP | strpbrk() Function
- PHP | strpos() Function
- PHP | strrchr Function
- PHP | strrev() Function
- PHP | strripos() Function
- PHP | strrpos() Function
- PHP | strspn() Function
- PHP | strstr() Function
- PHP | strtok() Function
- PHP | strtolower() Function
- PHP | strtoupper() Function
- PHP | strtr() Function
- PHP | substr_compare() Function
- PHP | substr_count() Function
- PHP | substr_replace() Function
- PHP | substr() function
- PHP | trim() Function
- PHP | ucfirst() Function
- PHP | ucwords() Function
- PHP | vprintf() function
- PHP | vsprintf() Function
- PHP | wordwrap() Function