5-30 Command Reference
CSTRIP
Purpose Strips data from a field.
Syntax CSTRIP
field-buffer1
,
field-buffer2
[ , [
invalid label
] [ ,
valid label
] ]
Process The CSTRIP command strips data specified in
field-buffer2
from
field-buffer1
.
These variables
can be one of the following:
Field-buffer1 and Field-
buffer2
Description
INPUT Input Buffer
Logical Field Name
(TEMP1)
Temporary Buffer
Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Field-buffer2 only
:
String
ASCII string delimited
by double quotes.
Optional Fields Invalid and valid labels are discussed in “Script Flow" at the beginning of this
chapter.
Example
This example removes all dashes from the SHIP_NO field.
CSTRIP SHIP_NO, “-“
See Also RSTRIP
LSTRIP
TSTRIP