CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [Laurent_R] Match string in multi-line file: Edit Log



Stefanik
User

Dec 31, 2012, 6:53 AM


Views: 4039
Re: [Laurent_R] Match string in multi-line file

I'm try to extract the value after field "TRANSID,".
I separate all the line after ":", in tris way I have a line with "TRANSID," and its value. These lines are in variable $FileTemp.
Then I'd like to extract just the value in these lines and store them in variable $value1.

TRANSID si what in my first post is called FieldCostant2.
I try to extract the value in case TRANSID is not in a fix position (for example in one of FieldCostantx).
I hope to explain my point.

Thanks.


(This post was edited by Stefanik on Dec 31, 2012, 7:09 AM)


Edit Log:
Post edited by Stefanik (User) on Dec 31, 2012, 7:09 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives