Module:string/php trim/documentation
Appearance
Lua equivalent of PHP's trim($string)
, which trims "\0"
, "\t"
, "\n"
, "\v"
, "\r"
and " "
. This is useful when dealing with template parameters, since the native parser trims them like this.