in reply to Re: how to read values from a given paragraph
in thread how to read values from a given paragraph

hi thanks for replying the values are mentioned exactly below these strings: BRNO MAGNO SLOTNO PRODNO PRODREV 31 1 14 ROJ 208 882/1 R1C PRODNAM MANDATE SERNO MASTRP GED-DVD 20090604 CB49914646 1021 SLSTATE DATE TIME 0 120628 131219 for e.g PRODNO=ROJ 208 882/1 PRODREV=R1C PRODNAM=GED-DVD SERNO=CB49914646 These values keeps changing everytime. thanks and regards
  • Comment on Re^2: how to read values from a given paragraph

Replies are listed 'Best First'.
Re^3: how to read values from a given paragraph
by aaron_baugher (Curate) on May 07, 2015 at 10:34 UTC

    No, the values are not "mentioned exactly below these strings." Look at your own posts in this thread. See how your sample data is in one long string that wraps wherever it may, instead of the multiple lines of the original file, so you can't tell where the columns line up? Did you notice that it didn't look right when you previewed all these posts?

    You've been told in this thread how to prevent that with code tags, so that people can understand your data and help you. The instructions above and below the posting textarea also tell you how. Had you done so, you would have had an answer to your first post a few hours ago. Please take a few moments to learn to post correctly, so that we can help you.

    Aaron B.
    Available for small or large Perl jobs and *nix system administration; see my home node.

Re^3: how to read values from a given paragraph
by Anonymous Monk on May 07, 2015 at 08:02 UTC
    Why omit code tags? They're also used for data