find() Function

Function

find( search_text, within_text, start_num )

Returns index location of case-sensitive substring with given string. Returns the one-based location index of the first character of the first match.

See also: search()

Parameters

Keyword Type Description

search_text

Text

The text that will be searched for.

within_text

Text

The text that will be searched in.

start_num

Number

The index of the first character within the within_text value from which to start searching. 0 by default.

Returns

Number

Examples

find("to","boston",1) returns 4

Open in Github Built: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK