trim(String): String
Removes any blank spaces from the beginning and end of a string.
Example
This example trims a string. Notice that it does not remove any spaces from the middle of the string, only the beginning and end.
Removes any blank spaces from the beginning and end of a string.
This example trims a string. Notice that it does not remove any spaces from the middle of the string, only the beginning and end.