iam reading file line by line by buffered reader and writer in reading follwing lines <edm:OrderItem><edm:OrderItemReconciliation orderREF="1036578"></edm:OrderItem> for the above line i can handle this way... end5Pos = line.indexOf("\">",start5Pos); but below line how i hndle... <edm:OrderItem><edm:OrderItemReconciliation orderREF="1036578"/></edm:OrderItem> if i hndle above way stringindex out of bound because end 5Pos=-1,canu please help me
1. Youre asking this in the wrong forum 2. When you ask questions, please try to ask clearly and give more information. I cant understand at all what you are asking
Sorry Shinu, I can't help you further, because I don't know in what context you are using this code (you didn't tell us). What is the purpose of the program you are writing, and where do you get stuck? Explain exactly what the program is supposed to do, what it actually does and how that differs from what you expect.