Free cookie consent management tool by TermsFeed find() Function
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: Fri, Nov 10, 2023 (03:42:48 PM)

find() Function

FEEDBACK