Str.asciiStrdown

Converts all upper case ASCII letters to lower case ASCII letters.

class Str
static
string
asciiStrdown
(
string str
,)

Parameters

str string

a string.

len gssize

length of str in bytes, or -1 if str is nul-terminated.

Return Value

Type: string

a newly-allocated string, with all the upper case characters in str converted to lower case, with semantics that exactly match g_ascii_tolower(). (Note that this is unlike the old g_strdown(), which modified the string in place.)

Meta