melonjs
    Preparing search index...

    Function lastIndexOf

    • Returns the last occurrence of a substring in the string.

      Parameters

      • searchString: string

        The substring to search for.

      • Optionalposition: number

        The index at which to begin searching. If omitted, the search begins at the end of the string.

      Returns number