PgMiscellaneous.trimString

Trims leading and trailing whitespace from a string.

struct PgMiscellaneous
static
string
trimString
(
string str
)

Parameters

str string

a string

Return Value

Type: string

A newly-allocated string that must be freed with g_free()

Meta