Function

GLib-2.0GLibstr_has_suffixSince 2.2

  • Looks whether a string ends with suffix.

    Parameters

    • str: string

      a string to look in

    • suffix: string

      the suffix to look for

    Returns boolean

    true if str ends with suffix, false otherwise

    2.2