stripSpaces

Internal helper function that returns the slice of a string excluding any preceding or trailing spaces.

string
stripSpaces
(
string s
)

Parameters

s string

The string to strip.

Return Value

Type: string

The slice of the string that has been stripped.