[stackoverflow] [progress Openedge Abl] Code To Split Delimiter String

Status
Not open for further replies.
Y

Yulia Ftr

Guest
I am a newby of learning Progress OpenEdge. I have a question about how to split a string input from user to get the output with the delimiter in one procedure. Such as: Input : "A0020000A103A0A0A0A501A4A405A5A5A5A5A5"
The output must be : HEADER LEN DATA ------------- ------ -------------- A0 02 0000 A1 03 A0A0A0 A5 01 A4 A4 05 A5A5A5A5A5

Or Input : "B103X0X0X0C204B1B1B1B1A209C2C2C2C2C2C2C2C2C2X301A2"

Output: HEADER LEN DATA ------------- ------ ----------------------- B1 03 X0X0X0 C2 04 B1B1B1B1 A2 09 C2C2C2C2C2C2C2C2C2 X3 01 A2

Thank you for your attention.

Continue reading...
 
Status
Not open for further replies.
Top