Trim
Last updated
Last updated
Strip whitespace (or other characters) from the beginning and/or end of a string.
Columns that will be transformed. If empty
, the transformation is applied to all columns.
The options trim
| all
| both
will trim both sides, ltrim
| start
| left
will trim the left side and rtrim
| end
| right
will trim the right side of the string.
The stripped characters. Simply list all characters that you want to be stripped. With .. you can specify a range of characters.
Type
Default value
array
[]
Type
Default value
string
both
Type
Default value
string
" \t\n\r\0\x0B"