Namespace: Consultingwerk
Class 
Tokenizer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:Tokenizer
Purpose:A class that supportes splitting a CHARACTER string into
tokens that might be quoted or not
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Mar 16 14:40:25 CET 2012



Top Method Summary
Options Name Purpose
+ Consultingwerk.Framework.Collections.CharacterList Tokenize (character) Splits a string into individual tokens
+ Consultingwerk.Framework.Collections.CharacterList Tokenize (character, logical) Splits a string into individual tokens
+ Consultingwerk.Framework.Collections.CharacterList Tokenize (character, logical, character) Splits a string into individual tokens


Method Detail
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList Tokenize (character)

Purpose: Splits a string into individual tokens
Notes:

Parameters:
pcString CHARACTER
The string to split into tokens
Returns Consultingwerk.Framework.Collections.CharacterList
A CharacterList of individual tokens
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList Tokenize (character, logical)

Purpose: Splits a string into individual tokens
Notes: When plKeepQuotes is passed as TRUE, then leading ( and trailing ) on
tokens will be added to the CharacterList as seperate Tokens as it's expected
that this will simplify the interpretation of a Query String

Parameters:
pcString CHARACTER
The string to split into tokens
plKeepQuotes LOGICAL
True to leave the quotes in the tokens, false to ommit quotes
Returns Consultingwerk.Framework.Collections.CharacterList
A CharacterList of individual tokens
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList Tokenize (character, logical, character)

Purpose: Splits a string into individual tokens
Notes: When plKeepQuotes is passed as TRUE, then leading ( and trailing ) on
tokens will be added to the CharacterList as seperate Tokens as it's expected
that this will simplify the interpretation of a Query String

Parameters:
pcString CHARACTER
The string to split into tokens
plKeepQuotes LOGICAL
True to leave the quotes in the tokens, false to ommit quotes
pcOtherDelimiters CHARACTER
A single character string containing other characters that are used as additional token delimiters, e.g. ",="
Returns Consultingwerk.Framework.Collections.CharacterList
A CharacterList of individual tokens


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:33:04