Please enable JavaScript to view this site.

Find a sub-string within the specified source string, optionally starting by a specific index.

Syntax

strFind(string source, string tofind, int index=0, bool cs=true): int

source

Source string

tofind

Text to find

index

Starting index (0-based)

cs

Case sensitive search flag

Result

Returns index of first occurrence of tofind, or -1 if could not be found.

 

  

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