IrcString IndexOf Method (Func Byte, Boolean , Int32, Int32)NetIRC2 IRC Client Library for .NET
Scans part of the string for the first byte that matches the specified condition.

Namespace: NetIrc2
Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public int IndexOf(
	Func<byte, bool> matchCondition,
	int startIndex,
	int length
)

Parameters

matchCondition
Type: OnlineSystem Func OnlineByte, OnlineBoolean 
The condition to match.
startIndex
Type: OnlineSystem Int32
The first byte to begin scanning at.
length
Type: OnlineSystem Int32
The distance to scan.

Return Value

The index of the first matching byte, or -1.
See Also