in one of our requirement we are receiving a string of n character and at provider at we we sending that to SAP. Due to some limitation at target end, we need to check for string that if its more then 100 char, we need to split that and send to target application in 2 different segment(same name) like
input - This is a test message......(till 150 char)
in XSLT transformation -we need to split it like
<text>first 100 char<text>
<text> 101 to 200 char<text>
...
Since number of character is not predefined so I cant use substring function here. This should be as a part of loop..
Could someone pls help here.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…