3.6. Function reference
3.6.31. strip()
3.6.30. stddev()
« Previous
3.6.32. stripTags()
Next »

3.6.31. strip()

Referencestring strip(string $text)

Reduces the groups of white characters in $text into a single space:

{strip('This     is  a     text')}

The result:

This is a text

This function can operate also on a container of strings, stripping them all and returning the modified container.

3.6.31. strip()
3.6. Function reference
« Previous
3.6.30. stddev()
Next »
3.6.32. stripTags()