Function

EDataServerutil_utf8_strstrcase

Declaration [src]

const gchar*
e_util_utf8_strstrcase (
  const gchar* haystack,
  const gchar* needle
)

Description [src]

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

Type: const gchar*

The string to search in.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
needle

Type: const gchar*

The string to search for.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: const gchar*

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.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.