trimString

Trims leading and trailing whitespace from a string.

Return

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

Parameters

str

a string