To Documents

PHP String Handling Functions

 

Function Action
chr Returns the character corresponding to an ASCII code.
crypt One way encoding of a string (called hashing).
explode
 
Converts a character delimited string into an array
like the VB Split function.
implode Converts an array into a character delimited string.
ltrim
 
Remove characters (default is remove blanks) from the
beginning of a string.
ord Return the ASCII code of a character.
parse_str Extract the variables from a query string passed via a URL.
print Display a string. Always return 1.
printf
 
Display a formatted string. Returns the length of the
formatted string.
rtrim
 
Remove characters (default is remove blanks) from the end
of a string.
sprintf Return a formatted string.
str_replace
str_ireplace
Replace all occurrences of a substring within a string.
&nsp;
str_split
 
Split a string into an array equal length chunks (default
length 1).
strcmp Binary-safe string comparison.
strlen Returns the length of a string.
strpos
stripos
Returns the position of first occurrence of a substring
in a string.
strrev Returns a string with characters reversed.
strtolower Returns a string with all characters converted to lowercase.
strtoupper Returns a string with all characters converted to uppercase.
substr Extracts a substring from a string.
trim Remove characters (default is remove blanks) from the
beginning and end of a string.

Use this online reference as a manual for all documented PHP functions:
http://www.php.net/quickref.php