String.LastIndexOf Method
| Explanation | Finds the specified string up to pos and returns the last found position. This method finds without being aware of the character type of the target character string. Use the find function to search for double-byte characters in the target string | |
| Call format | var n = str.LastIndexOf( find [, pos ] ) | |
| Return value | Returns a zero -based number that indicates the location found. Returns -1 if not found | |
| Arguments | String find | Character string to find |
| integer pos | End position of search range Specify a number starting from 0. If omitted, the search will be performed to the end. | |
| Exception | Func-4 | Invalid argument |
| Example of use | | |
| Related item | IndexOf method find method | |