trim {strings} | R Documentation |
in an array from the current System.String object.
trim(strings,
characters = " ");
The string that remains after all occurrences of the characters in the trimChars parameter are removed from the start and end of the current string. If trimChars is null or an empty array, white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.