Function

GLib-2.0GLibascii_strdown

  • Converts all upper case ASCII letters to lower case ASCII letters, with semantics that exactly match GLib.ascii_tolower.

    Parameters

    • str: string

      a string

    • len: number

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

    Returns string

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