in reply to Parse file, split
DB<108> $line='2011 Dodge Ram Crew Cab Short Bed' => "2011 Dodge Ram Crew Cab Short Bed" DB<109> split ' ',$line,3 => (2011, "Dodge", "Ram Crew Cab Short Bed")
If this is not what you want ¹ please provide us with better data enclosed in code-tags.
You certainly have a bad delimiter character! =)
Cheers Rolf
( addicted to the Perl Programming Language)
¹) I ignore American car manufacturers and models and for me "Ram Crew Cab Short Bed" rather sound like IMDB keywords for a porn movie...
...
... btw: what does Cab mean? ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse file, split
by AnomalousMonk (Archbishop) on May 28, 2013 at 00:49 UTC |