format.eliminate ViewHelper <vhs:format.eliminate> 

Character/string/whitespace elimination ViewHelper

There is no example - each argument describes how it should be used and arguments can be used individually or in any combination.

Arguments 

content 

DataType
string
Required
false
Description
String in which to perform replacement

caseSensitive 

DataType
boolean
Default
true
Required
false
Description
Wether or not to perform case sensitive replacement

characters 

DataType
mixed
Required
false
Description
Characters to remove. Array or string, i.e. {0: 'a', 1: 'b', 2: 'c'} or 'abc' to remove all occurrences of a, b and c

strings 

DataType
mixed
Required
false
Description
Strings to remove. Array or CSV, i.e. {0: 'foo', 1: 'bar'} or 'foo,bar' to remove all occorrences of foo and bar. If your strings overlap then place the longest match first

whitespace 

DataType
boolean
Required
false
Description
Eliminate ALL whitespace characters

whitespaceBetweenHtmlTags 

DataType
boolean
Required
false
Description
Eliminate ALL whitespace characters between HTML tags. Use this together with <f:format.raw>

tabs 

DataType
boolean
Required
false
Description
Eliminate only tab whitespaces

unixBreaks 

DataType
boolean
Required
false
Description
Eliminate only UNIX line breaks

windowsBreaks 

DataType
boolean
Required
false
Description
Eliminates only Windows carriage returns

digits 

DataType
boolean
Required
false
Description
Eliminates all number characters (but not the dividers between floats converted to strings)

letters 

DataType
boolean
Required
false
Description
Eliminates all letters (non-numbers, non-whitespace, non-syntactical)

nonAscii 

DataType
boolean
Required
false
Description
Eliminates any ASCII char