I have two issues.
fisrt see the following example.
01 ws-string pic x(50) value '012345679012345679 '---------there are five blanks after 789.
In procedure division I use
Inspect ws-string tallying ws-cnt for characters.
I found ws-cnt return 50, exceed my expectation 25.....
so ,my problem is :
1.how can i get the actual length of ws-string..in this example is 25.
2.Can anyone help to remove the trailing blanks in ws-string.
thanks ^_^.