uniindex

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

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  unicode_t *uniindex (
     const unicode_t   *string,
     const unicode_t   *search);
  

Parameters

string

(IN) Points to the string to be scanned.

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.

Remarks

The uniindex function corresponds to the strindex function.

See Also