Kumar Raja wrote:I can write my userdefined function, but wondering if anything already existing.
Seems to me you have 2 tasks:
1. Splitting your string based on predefined lengths.
2. Getting those predefined lengths from a piece of COBOL source.
And of the two, number 2 is going to be a lot harder (the first, as Darryl said, can be done with simple substring()s).
Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here