Im working on Java app that stores sms and parses this sms. i have them stored in a text file in this form; "21M32113Good19F41324Agree..." i want to parse messages in this form "Age Gender Ans1Ans2Ans3Ans4 Comment" e.g "21 M 32512 Good".i also need to insert new line breaks to separate one message and the next. any1 with an idea?

yup, write a parser for that format...
Not that hard, shouldn't take more than an hour or so at most.

substring is your friend :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.