string_trim (string text[, string search]) ⇒ string
Trims a string, text, at the start and the end, removing all instances of a character. If no search parameter is provided, the function simply takes the space character and trims the string of it.
Alternative function names: str_trim
First available: Version 1.3.5.90
Comments