Converts the initial alphabetic character of a token into lower case

        --> cString


     <cString>  [@]  Designates the string that is searched for tokens

     <cDelimiter>  Designates the delimiter list used by the token.

     <nNumber>  Designates the token in which the initial alphabetic
     character is converted into a lower case, alphabetic character.  The
     default value designates that all tokens are converted.


     The processed character string is returned.


     TOKENLOWER() converts the initial alphbetic character of the tokens in
     the <cString> into a lower case, alphabetic character.  If you specify a
     value for <nNumber>, only this number of tokens is processed.  If you do
     not specify a value for <nNumber>, all tokens in the <cString> are
     processed.  The function uses the following list of delimiters by

     CHR 32, 0, 9, 10, 13, 26, 32, 138, 141

     and the characters ,.;:!?/\<<>>()^#&%+-*

     The list can be replaced by your own list of delimiters, <cDelimiter>.
     Here are some examples of useful delimiters:

     Table 4-6: Recommended Delimiter Sequences
     Description         <cDelimiter>
     Pages               CHR(12)(Form Feed)
     Sentences           ".!?"
     File Names          ":\."
     Numerical strings   ",."
     Date strings        "/."
     Time strings        ":."


     .  The return value of this function can be suppressed by
        implementing CSETREF() to save space in working memory.


     .  Convert the initial letter of all tokens into lower case

        ? TOKENLOWER("good Morning")               // "good morning"

     .  This example shows that there are no detrimental effects if
        you specify a token number that does not exist:

        ? TOKENLOWER("good Morning",, 5)           // "good morning"

     .  Process the first two tokens using your own delimiter:

        ? TOKENLOWER("/AB/AB/AB", "/", 2)          // "/aB/aB/AB"



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.