Mega Code Archive
Categories
/
Php
/
Strings
Trim() function removes all whitespace from both sides of string
Its syntax is: string trim (string string) It will also remove the special characters "\n", "\r", "\t", "\v" and "\0". print ">".trim(" asdf ")."<"; ?>