utf8index

Finds the index of the first occurrence of the search string in the specified string.

Library:LibC
Classification:Novell
Service:Characters and Strings

Syntax

  #include <utf8.h> 
   
  utf8_t  *utf8index (
     const utf8_t   *string, 
     const utf8_t   *search);
  

Parameters

string

(IN) Points to the string to scan.

search

(IN) Points to string to find in the scanned string.

Return Values

Returns one of the following values:

Non-NULL

Pointer to the index of the first occurrence of the search string.

NULL

The search string does not occur in the scanned string.

See Also