{
"id": "fn-string-last_index_of",
"dataComponent": "string",
"heading": {
"title": "last_index_of",
"badges": ["String", "PARTIAL"]
},
"synopsis": "Returns the character index of the last occurrence of a substring, or -1 if not found. Partial/placeholder usage supported.",
"codeBlocks": [
"extend(\"string\")\n\nsput( string:last_index_of(\"l\", \"Hello, lol!\") )\n# => 9"
],
"notes": [
"Arguments: substring, string.",
"Index is counted in Unicode characters.",
"Partial and _ supported."
]
}