CT_CHARODD

 CHARODD()
 Returns characters in the odd positions of a string
------------------------------------------------------------------------------
 Syntax

     CHARODD(<cString>) --> cString

 Argument

     <cString>  Designates the character string from which all the odd
     characters are returned.

 Returns

     CHARODD() returns a character string that contains all the odd
     characters from <cString>.

 Description

     CHARODD() assembles all odd characters within a string into a new
     character string.  This allows you to process variables where screen
     content, consisting of characters and attributes, is saved.  This
     function can then be used in conjunction with functions from the video
     section.

 Note

     .  The first position in a string is 1, and therefore is odd.

 Examples

     .  Assemble all odd characters:

        ? CHARODD("1234a")            // "13a"

     .  Return the expanded text to "normal":

        ? CHARODD("H e l l o ")       // "Hello"

See Also: CHARMIX() CHAREVEN() SCREENMIX() SCREENSTR() STRSCREEN()

 

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.