in reply to Re^3: Matching part of a line and saving it into a variable
in thread Matching part of a line and saving it into a variable
Sorry, I was trying as much as possible to do it myself and following tips to try and learn. Thanks for helping thus far. Here are a few lines:
"Barber Shop: NW, 147-2220, Washington 992,,,,, ,"Lawrence, Jerry A.",Buzz,,Clean,Cash,, ,"Wallace, Bob W.",Caesar,,High,Credit,, ,"Anthony, Ronald",Caesar,,Close,Cash,, ,"Nelson, Dwight R.",Buzz,,Clean,Check,, ,"Jamison, Jeff S.",Caesar,,High,Credit,, ,"Favors, Eric S.",Shave,,Skin,Cash,, ,"Williams, Herb C.",Fade,,High,Check,, ,"Carter, Shaun ",Caesar,,Low,Cash,,
Once again, all I want to do is save the name into $last $first $mid A few people don't have middle initials though, so I'm not entirely sure how to handle that..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Matching part of a line and saving it into a variable
by CountZero (Bishop) on Mar 14, 2011 at 21:44 UTC |