util_utf8_strstrcase


Description:


public unowned string? util_utf8_strstrcase (string? haystack, string? needle)

Find the first instance of needle in haystack, ignoring case.

(No proper case folding or decomposing is done.) Both needle and haystack are UTF-8 strings.

Parameters:

haystack

The string to search in.

needle

The string to search for.

Returns:

A pointer to the first instance of needle in haystack, or null if no match is found, or if either of the strings are not legal UTF-8 strings.


Namespace: E



2022 vala-language.org