ArcFM Responder Mobile Developer Guide
LastIndexOf Method (Parser)






The text to search. The text to search
The character to search for. The character to search for
The index to start the search at. The index at which to start the search
Searches a StringBuilder for a character in reverse Searches a StringBuilder for a character in reverse.
Syntax
'Declaration
 
Public Shared Function LastIndexOf( _
   ByVal text As System.Text.StringBuilder, _
   ByVal value As System.Char, _
   ByVal startIndex As System.Integer _
) As System.Integer
'Usage
 
Dim text As System.Text.StringBuilder
Dim value As System.Char
Dim startIndex As System.Integer
Dim value As System.Integer
 
value = Parser.LastIndexOf(text, value, startIndex)
public static System.int LastIndexOf( 
   System.Text.StringBuilder text,
   System.char value,
   System.int startIndex
)
public function LastIndexOf( 
    text: System.Text.StringBuilder;
    value: System.Char;
    startIndex: System.Integer
): System.Integer; static; 
public static function LastIndexOf( 
   text : System.Text.StringBuilder,
   value : System.char,
   startIndex : System.int
) : System.int;
public: static System.int LastIndexOf( 
   System.Text.StringBuilder* text,
   System.char value,
   System.int startIndex
) 
public:
static System.int LastIndexOf( 
   System.Text.StringBuilder^ text,
   System.char value,
   System.int startIndex
) 

Parameters

text
The text to search. The text to search
value
The character to search for. The character to search for
startIndex
The index to start the search at. The index at which to start the search

Return Value

The index of the last occurence of value in text or -1 if it is not found. The index of the last occurence of value in text or -1 if it is not found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Parser Class
Parser Members

Send Feedback