Click or drag to resize
StringTokenExtensionsSplit Method

Namespace: FlexRule.DSL.Tokenizer
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IEnumerable<StringToken[]> Split(
	this IEnumerable<StringToken> tokens,
	Func<StringToken, bool> splitterPredicate
)

Parameters

tokens
Type: System.Collections.GenericIEnumerableStringToken
splitterPredicate
Type: SystemFuncStringToken, Boolean

Return Value

Type: IEnumerableStringToken

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableStringToken. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also