Firebird ADO.NET Provider SDK Documentation - v1.7

StringParser.IndexOf Method (String)

Returns the index of the substring in the string. If the substring does not exists the method returns -1.

[Visual Basic]
Overloads Public Function IndexOf( _
   ByVal substring As String _
) As Integer
[C#]
public int IndexOf(
   string substring
);

Parameters

substring
The string to be located.

Return Value

The index of the substring or -1 if the string does not exists within the source string. If the the substring is empty method returns 0.

Remarks

The instance parses for the substring in a case sensitive or intensive way, as you specify at class construction.

See Also

StringParser Class | FirebirdSql.Data.Firebird.Isql Namespace | StringParser.IndexOf Overload List