Please enable JavaScript to view this site.

Function that returns the position within a string where the substring to be searched starts.

Syntax

i32 str_find (string strSrc, string strKey)

strSrc

String in which to search

strKey

String to search in

Result

Returns the position of the character at which strKey starts

Validity

Rule, Task

Note.

If the substring starts at the first character returns 1.

If substring does not exist returns 0.

The search is case sensitive

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC