| StringIndexOf Method (String) | 
Reports the zero-based index of the first occurrence of the specified string in this instance.
 
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
 Syntax
Syntaxpublic int IndexOf(
	string value
)
Parameters
- value
- Type: SystemString
 The string to seek.
Return Value
Type: 
Int32The zero-based index position of 
value if that string is found, or -1 if it is not. If 
value is 
Empty, the return value is 0.
 Exceptions
Exceptions See Also
See Also