tallquoXgog
New Member
I have an excel in the following format \[code\] customers users customer1 user1 customer1 user2 customer2 user3 customer3 user4 customer3 user5\[/code\]I'm parsing the above into an array of strings. I need it to be in a string like this\[code\]script.bat -c customer1 -u user1 user2script.bat -c customer2 -u user3script.bat -c customer3 -u user4 user5\[/code\]essentially I want to check for all "customer 1" and add any users associated with "customer 1" to the string. The string is easy but to get them there I wasn't sure if it was best to use a Hashmap or something similar where I can easily compare and find values.