asciiStrup

Converts all lower case ASCII letters to upper case ASCII letters, with semantics that exactly match funcGLib.ascii_toupper.

string
asciiStrup
(
string str
,
ptrdiff_t len
)

Parameters

str string

a string

len ptrdiff_t

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

Return Value

Type: string

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