Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

split from a field into another 2 fields

$
0
0

hi forum,

say i have 1 field contains of 30 char.

now i need to split it into 2 fields with each 15 char.

when separate into 2 field, the word should not be broken.

say i have sentence like this "what a wonderful day". when split, field1 is "what a" whereas field2 is "wonderful day".

how to check the sentence with consideration of space as well so that can preserve the whole word when split.

 

thanks alot



Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>