[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson