TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Searches the string haystack for the last occurrence of the string needle, limiting the length of the search to haystack_len.
haystack
needle
haystack_len
The fact that this function returns gchar * rather than const gchar * is a historical artifact.
gchar *
const gchar *
a string to search in
the maximum length of haystack in bytes. A length of -1 can be used to mean "search the entire string", like GLib.strrstr
-1
the string to search for
a pointer to the found occurrence, or NULL if not found
NULL
Searches the string
haystackfor the last occurrence of the stringneedle, limiting the length of the search tohaystack_len.The fact that this function returns
gchar *rather thanconst gchar *is a historical artifact.