[ CCode ( cname = "g_strrstr_len" ) ]
public unowned string? rstr_len (ssize_t haystack_len, string needle)
Searches the string haystack for the last occurrence of the string needle, limiting the length of the search to
haystack_len.
The fact that this function returns `gchar *` rather than `const gchar *` is a historical artifact.
| haystack_len |
the maximum length of |
| needle |
the string to search for |
| haystack |
a string to search in |
|
a pointer to the found occurrence, or `NULL` if not found |