Home / comp / gb / string / rinstr 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  mk  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
String.RInStr (gb)
Syntax
STATIC FUNCTION RInStr ( String AS String, Pattern AS String [ , From AS Integer ] ) AS Integer
Returns the position of the last occurrence of Pattern in String.

If From is specified, the search begins at the position From.

If the substring is not found, this function returns zero.

This function returns the index of the found character, not its byte position.

Examples

PRINT String.RInStr("Benoît", "t");; RInStr("Benoît", "t")

6 7