COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-273
UNSTRING
ALL
causes the unstring operation to handle all consecutive occurrences of the value of
delim-1 as if they were only one occurrence of delim-1. Without ALL, the
unstring operation handles only the first occurrence of the value of delim-1 as
the delimiter.
delim-1
is the identifier of an alphanumeric data item or an alphanumeric literal. If it is a
figurative constant, it must represent a single character.
The delimiter delim-1 marks the end of a portion of the value of source. The
value that the unstring operation stores into a result item does not include the
value of delim-1.
ALL
causes the unstring operation to handle all consecutive occurrences of the value of
delim-2 as if they were only one occurrence of delim-2. Without ALL, the
unstring operation handles only the first occurrence of the value of delim-2 as
the delimiter.
delim-2
is the identifier of an alphanumeric data item or an alphanumeric literal. If it is a
figurative constant, it must represent a single character.
The delimiter delim-2 marks the end of a portion of the value of source. The
value that the unstring operation stores into a result item does not include the
value of delim-2.
result-list
result
DELIMITER
IN
delimstore
VST233.vsd
COUNT
IN
count