Skip to Content
0
Former Member
Aug 05, 2008 at 06:53 PM

SPLIT statement at fixed intervals

317 Views

I am using a SPLIT statement to break a string and throw it into an internal table.

Right now - the string is pipe delimited, so i m using

SPLIT string at ' |' into int_table.

Question: If there is no pipe delimited on the string and I want to split at a fiexed interval say after every 40 characters.

can this be done? IF yes then how ?

I tried SPLIT string at '+0(40)' into int_table - did not work