Internal helper function that returns the slice of a string excluding any preceding or trailing spaces.
The string to strip.
The slice of the string that has been stripped.
Internal helper function that returns the slice of a string excluding any preceding or trailing spaces.