Plugging a fixed length string in to a structure.
Posted on 2006-07-02
I'm receiving a fixed length string with fixed length fields that I need to break apart. Ideally I'd like to take the string and put it into a Structure
and then access the individual fields from there. Is there a way of automatically "plugging" my string into this structure? I wish to do as little work as posible.
myFixedLengthLine = "AAAAABBBCCCCCCCCC"