Functions:whitespace

From Dwoo Docs

Jump to: navigation, search

Replaces all white-space characters with the given string

whitespace(string $value, [ string $with = ' '])
  • value : the text to process
  • with : the replacement string, note that any number of consecutive white-space characters will be replaced by a single replacement string




Example:

{"a    b  c        d\ne"|whitespace}

Output:

a b c d e
Personal tools
templates
page language

French

The article you want to access doesn't exist in French.
Deutsch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Russian.