Given that a space is what separates the data that you require.
Capture the length of the string.
Use a LOOP structure and exit when you have reached the length of the string. So, read it character by character by using the SUBSTR command. Once a space is found, output the characters found. Repeat this process until you get to the end of the string.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.