You have a string that has been grabbed from an API return, however due to bad formatting the string starts or ends with extra spaces that need removed.
Trim whitespace characters from a variable.
Result of Example:
In the above return the " characters were kept to show the spaces being removed. These would not be present in the actual return. Only the original string without whitespaces would be returned.
Variable Contents
Variable to trim
"This is a test starting and ending with 3 spaces each"