ascii_up


Description:

[ CCode ( cname = "g_ascii_strup" ) ]
public string ascii_up (ssize_t len = -1)

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

Parameters:

len

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

str

a string

Returns:

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




2022 vala-language.org