[TOC] [Prev] [Next] [Bottom]



<@TOKENIZE>

Syntax

<@TOKENIZE VALUE=text CHARS=delimiters>

Description

Provides you with a way of sectioning a string into multiple pieces according to a set of delimiting characters. It accepts as attributes the VALUE of the text and the delimiting CHARS, and returns its results as an array. The result is a one row array, with a column for each token. If the entire string consisted of only delimiters, a one by one empty array is returned.

Each character in CHARS is taken as a separate delimiter.

Example


!Note: There are extra spaces in the string specified in the VALUE attribute in the following example.


<@TOKENIZE VALUE=" The quick brown fox jumped, quite amazingly, over the lazy dog. " CHARS=" ,.">

The array returned would look like this:

See Also

<@LTRIM>
<@RTRIM>
<@SUBSTRING>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.