Str.strchug

Removes leading whitespace from a string, by moving the rest of the characters forward. This function doesn't allocate or reallocate any memory; it modifies string in place. The pointer to string is returned to allow the nesting of functions. Also see g_strchomp() and g_strstrip().

class Str
static
string
strchug
(
string string
)

Parameters

string string

a string to remove the leading whitespace from.

Return Value

Type: string

string.

Meta