Removes trailing whitespace from a string.
This function doesn't allocate or reallocate any memory; it modifies string in place. Therefore, it cannot be used on statically allocated strings.
The pointer to string is returned to allow the nesting of functions.
Also see funcGLib.strchug and funcGLib.strstrip.
a string to remove the trailing whitespace from
the modified string
Removes trailing whitespace from a string.
This function doesn't allocate or reallocate any memory; it modifies string in place. Therefore, it cannot be used on statically allocated strings.
The pointer to string is returned to allow the nesting of functions.
Also see funcGLib.strchug and funcGLib.strstrip.