StringSegmentIndexOf(String) Method
Gets the zero-based index of the first occurrence of the specified
value in this
StringSegment
using ordinal comparison.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public int IndexOf(
string value
)
Public Function IndexOf (
value As String
) As Integer
public:
int IndexOf(
String^ value
)
member IndexOf :
value : string -> int
- value String
- The string to seek.
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.