RINSTR
n = RINSTR ( [start], s1, s2 )
Returns the position of the last occurrence of string s2
in string s1
starting from the position start
.
If there is no match, RINSTR returns 0
Example
"ab12ab34"
s = print rinstr(s, "ab") ' Output: 5
print rinstr(6, s, "ab") ' Output: 0
String
ASC
BCS
BIN
CBS
CHOP
CHR
DISCLOSE
ENCLOSE
FORMAT
HEX
INSTR
JOIN
LCASE
LEFT
LEFTOF
LEFTOFLAST
LOWER
LTRIM
MID
OCT
REPLACE
RIGHT
RIGHTOF
RIGHTOFLAST
RINSTR
RTRIM
SINPUT
SPACE
SPC
SPLIT
SPRINT
SQUEEZE
STR
STRING
TRANSLATE
TRIM
UCASE
UPPER
VAL
If there is insufficient information on this page and you wish learn more about RINSTR,
please send an email to smallbasic@gmail.com. You can help to improve information about
RINSTR by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.