trim(), ltrim(), rtrim() (tick_24Global)

string trim(string $string)

Use trim() to strip whitespace from the beginning and end of $string

Use ltrim() to strip whitespace from the beginning of $string

Use rtrim() to strip whitespace from the end of $string

Does not do anything if $string is not a string (for example, does not do anything if $string is an integer).

These functions are supported only in CSE HTML Validator v12.0024 and later.