TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
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.
string
The pointer to string is returned to allow the nesting of functions.
Also see GLib.strchug and GLib.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
stringin place. Therefore, it cannot be used on statically allocated strings.The pointer to
stringis returned to allow the nesting of functions.Also see GLib.strchug and GLib.strstrip.