Returns the zero-based index of the last occurrence of the specified sub string within the text. The search is done case-sensitive. Returns -1 if the sought string isn't found.
int LastIndexOf(string text; string subString)
text |
The string to search inside. |
subString |
The sub string to search for. |
Example
LastIndexOf("{"name":"Martin", "age":51}";":")
Returns 23.