Share via


Tokenizer<TSymbol,TSymbolType>.TakeString(String, Boolean) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the given input string into the buffer.

protected bool TakeString(string input, bool caseSensitive);
member this.TakeString : string * bool -> bool
Protected Function TakeString (input As String, caseSensitive As Boolean) As Boolean

Parameters

input
String

The input string.

caseSensitive
Boolean

true to indicate comparison is case sensitive; otherwise, false.

Returns

true if the whole input string was accepted; false, if only a substring was accepted.

Applies to