Command Line

Command STRRFIND

Function:

Find the last occurrence of a string within the specified text. The index where the string occurs is stored in an environment variable called STRRFIND.
Syntax:
STRRFIND "string" [text]
stringA string that specifies the string to find.
textA sequence of characters.
Note:
  • When the string does not occur within the text then the environment variable STRRFIND will be set to 0.
  • The first character in the text is at position 1, the second character is at position 2 and so on.
  • Also see command STRFIND, SUBSTR, STRSPLIT and Batch Programs.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc