I understand your code and it works well on my computer but now I need to change it alittle.
This imput file will look more like:
Toyota Camry
Subaru Forester
Volkswagen Gti
Chevrolet Malibu
Ford Focus
Chrysler Crossfire
Dodge Charger
I want to use split(" ") but I dont knowwhere it would be put in your code, could you show me how to use string splitting?