Str.strreverse

Reverses all of the bytes in a string. For example, g_strreverse ("abcdef") will result in "fedcba". Note that g_strreverse() doesn't work on UTF-8 strings containing multibyte characters. For that purpose, use g_utf8_strreverse().

class Str
static
string
strreverse
(
string string
)

Parameters

string string

the string to reverse

Return Value

Type: string

the same pointer passed in as string

Meta