Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Thanks Stephane. It's working fine for single record in the file, but getting different output than expected if I have multiple records in file. Commented May 9, 2015 at 14:32
  • OK, sorry, see edit. Commented May 9, 2015 at 14:38
  • It's perfect now. Commented May 9, 2015 at 14:41
  • Terrific! Can you please explain what's going on there (what does the character sequence mean)? Commented May 9, 2015 at 18:53
  • @try-catch-finally, hold next print next get print Commented May 9, 2015 at 21:18