Function

GLib-2.0GLibascii_strup

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

    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 lower case characters in str converted to upper case. (Note that this is unlike the old GLib.strup, which modified the string in place.)