Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME strFind - Returns the position of a string or character within another string SYNOPSIS strFind -find [TEXT TO FIND] -string [STRING TO BE SEARCHED] -reverse [REVERSE SEARCH] EXAMPLES strFind -find b -string abcabc (returns: 2) strFind -find b -string abcabc -reverse true (returns: 5) strFind -find z -string abcabc (returns: 0) DESCRIPTION Returns the position of the first occurence of a string or character within another string. If nothing is found, the command returns 0. Set -reverse to TRUE if you wish to find the first instance starting from the end of the string. This command IS case sensitive. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>