util_strdup_strip
Description:
Duplicates string
and strips off any leading or trailing whitespace.
The resulting string is returned unless it is empty or null
, in which case the function returns null
.
Free the returned string with g_free.
Parameters:
string |
a string value, or |
Returns:
a newly-allocated, stripped copy of |
Namespace: E
Package: libedataserver-1.2