Str.asciiStrup

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

class Str
static
string
asciiStrup
(
string str
)

Parameters

str string

a string.

Return Value

Type: string

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

Meta