All Functions

strip - remove all whitespace

The Strip operation removes all whitespace characters from a string.

"Whitespace" are characters such as Spaces, Tabs, New Lines Source:


strip ( $string ) Returns the input string with all whitspace removed


$string The string where whitespace needs to be removed from.


Removing (or stripping) whitespace from a string

strip(This is a sencente)
returns: Thisisasentence

See also

upper - upper case lower - lower case truncate - truncate string length trim - remove whitespace