whitespace

1.0 1.1 1.2 1.3

Replaces all white-space characters with the given string

<?php
whitespace(string $value, [ string $with = ' '])
assign(mixed $value, string $var)

Examples

Example #1

index.tpl
{"a    b  c        d\ne"|whitespace}

The above example will output:

a b c d e