Str.strcompress

Replaces all escaped characters with their one byte equivalent.

This function does the reverse conversion of g_strescape().

struct Str
static
string
strcompress
(
string source
)

Parameters

source string

a string to compress

Return Value

Type: string

a newly-allocated copy of @source with all escaped character compressed

Meta