Skip to Content
Former Member
May 27, 2008 at 09:58 PM

Split String FM



Does anyone know a standard string FM that split string at an absolut place and consider if the N place is blank or not ?

My meaning is likely:

str = 'test one two three'.

I would like to split str at the 10th place but because it's in a middle of word split it in the 8th place ..

str1 = 'test one'

str2 = 'two three'

and not

str1 = 'test one t'

str2 = 'wo three'

I know that VB has few methods like that, I'm hope abap has it also ..

Thanks in advance,