PARSE VAR Instruction

The PARSE VAR instruction parses a specified variable into one or more variables.
quote = 'Knowledge is power.'
PARSE VAR quote word1 word2 word3
      /* word1 contains 'Knowledge'  */
      /* word2 contains 'is'         */
      /* word3 contains 'power.'     */

PARSE VAR does not uppercase character information before assigning it into variables. If you want uppercase translation, use PARSE UPPER VAR.


Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrxbf.html