Function

FwupdPluginstring_strip

since: 2.0.17

Declaration [src]

void
fu_string_strip (
  GString* str
)

Description [src]

Removes leading and trailing whitespace from a mutable string.

Available since: 2.0.17

Parameters

str

Type: GString

A GString, e.g. test.

The data is owned by the caller of the function.