GLib.ascii_strdown

function ascii_strdown(str: String, len: Number(gssize)): String {
    // Gjs wrapper for g_ascii_strdown()
}
  

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

str

a string

len

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

Returns

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