trimString

⚠️ Deprecated ⚠️

This is deprecated since version 1.38.

---

Trims leading and trailing whitespace from a string.

Return

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

Parameters

str

a string