Bridge

String..::..IndexOf Method (Char)

Reports the zero-based index of the first occurrence of the specified Unicode character in this string.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int IndexOf(
	char searchValue
)
<TemplateAttribute> _
Public Function IndexOf ( _
	searchValue As Char _
) As Integer
[TemplateAttribute]
public:
int^ IndexOf(
	wchar_t^ searchValue
)

Parameters

searchValue
Type: System..::..Char

Return Value

The zero-based index position of value if that character is found, or -1 if it is not.