ArcFM Engine Developer Guide
IndexOf Method (Parser)


The text to search
The character value to search for
The index at which to start the search
Searches a StringBuilder for a character.
Syntax
'Declaration
 
Public Shared Function IndexOf( _
   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.IndexOf(text, value, startIndex)
public static int IndexOf( 
   StringBuilder text,
   char value,
   int startIndex
)

Parameters

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

Return Value

The index of the first occurrence of value 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