prevind
prevind(str, i)
Get the previous valid string index before i
. Returns a value less than 1
at the beginning of the string.
Examples
See Also
User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.