Skip to Content
-1
Aug 08, 2023 at 02:51 AM

Split issue

93 Views Last edit Aug 08, 2023 at 08:18 AM 6 rev

why the last character is missing after split ?

this is just a sample.

DATA(text) = 1234567890,abcde.

SPLIT text AT ',' INTO res1-num res2-letter.


The length of the res1-num is 10 but after split it only get the 123456789

output:
res1-num = 123456789 "0 or last number is missing after split"
res2-lettter = abcde "resutl is correct"
___________________________________________________________________________________________
Code from debug

image.png

Attachments

image.png (22.2 kB)