Search

Last Index Of

Last Updated: Mar 8, 2023

Articles

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

Syntax

LastIndexOf (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

LastIndexOf (c, abcdc)

  • Returns the last index of c in the string abcdc.
    Returns 4.

To view all the Text functions, click here.

Did you find what you were looking for?