Search

Index Of

Last Updated: Mar 15, 2021

Articles

Use this function to get first index of search string in the input string.

Syntax

Index Of (search_string, input)

Parameters

Input Parameter Name Description
search_string search string
input input string

Returns

Return value Description
text Returns the index

Index starts with 0.

Sample

Index Of (c, abcde)

  • Returns the first index of c in the string abcde.
    Returns 2.

To view all the Text functions, click here.

Did you find what you were looking for?