rtrim option ignore whitespace characters from the right side of a CSV field. Defaults to
false. It does not remove whitespace present inside the quotes of a field.
- Since: early days
rtrim— see Available Options
Refer to the
trim documentation to learn about which characters are interpreted as whitespaces.
This example declare spaces around fields at multiple locations. The ones on the right side are trimmed while the other ones are preserved.