Functionality of the PHP trim command I bet you did not know
trim
(PHP 3, PHP 4 , PHP 5)trim -- Strip whitespace from the beginning and end of a string
Description
string trim ( string str [, string charlist])
You can also specify the characters you want to strip, by means of the charlist parameter. Simply list all characters that you want to be stripped. With .. you can specify a range of characters.
Example:
Share this via del.icio.us, digg, email, etc.
Trackback for "Functionality of the PHP trim command I bet you did not know"