Is there any way of moving one character of a string variable into another variable in the Dialog System? For example:
YES-STRING X 3
Y-STRING X 1
The 'YES-STRING' contains the word "YES" and I would like to move the letter 'Y' from the 'YES-STRING' to the 'Y-STRING'. I can do this in the COBOL program by doing the following :
MOVE YES-STRING(1:1) TO Y-STRING.
But can this be done in the dialog? I know the Dialog System can move entire variable such as:
MOVE YEST-STRING Y-STRING
But I want to be able to move just a character of a string to another variable in the Dialog System. Thanks in advance for your help.
- Alex Castro