ArcFM Engine Developer Guide
LastIndexOf Method


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

Parameters

text
The text to search
value
The character to search for
startIndex
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.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Parser Class
Parser Members

 

 


Send Comment