XWORD

Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001

Back to Main Index


Syntax:     XWORD(string[,delims][,nth][,end_var][,start])

Defn:       A CI evaluator function that is the counterpart to the
            WORD() function.  XWORD() returns the input string
            minus the selected "word". The default delims are a space,
            comma, semicolon, equals sign, left and right parentheses,
            left and right brackets, single quote, double quote,
            and tab.  The default nth is 1; the default end_var is
            no variable; the default start is 1.

Type:       String

Example:    xword('file a=bb,old;rec=40,,f,ascii')
Result:     'a=bb,old;rec=40,,f,ascii'
Example:    xword('file a=bb,old;rec=40,,f,ascii',,-4,j)
Result:     'file a=bb,old;rec,,f,ascii', j=18
Example:    xword("Hi , please attend...",,2)
Result:     'Hi  please attend...'

Back to Main Index