Function

Ibisformatting_strip

since: 0.1

Declaration [src]

char*
ibis_formatting_strip (
  const char* text
)

Description [src]

Removes all formatting from text and returns the result.

Available since: 0.1

Parameters

text

Type: const char*

The text to strip.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: char*

The result of stripping text.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.