So lets say i have multiple arrays right? String[] sh!t = {"","", etc etc }String[] taste = {"","", etc etc }String[] good = {"","", etc etc }
String[] sh!t = {"","", etc etc }String[] taste = {"","", etc etc }String[] good = {"","", etc etc }
how would i code a single " For loop " to check every seperate loop in one line of code?
Im trying to use this loop.
for(int i=0;i<(arrayhere).length;i++){}
i guess i could just use ContainsAnyOf idk
uhh yeah, thats exactly how you would do it.
What are you trying to do within your loop? Are the strings within each array unique? Are you constrained to only using arrays?
Let's say you're tying to find if something exists, you could do it with a hash table without looping..
Depends. Are all the arrays the same length?
I think im gathering what you want. You want to be able to check the arrays for curtain strings correct? If so, Why not use an array list? Would suit you better considering what you're doing is build into the functionality of an array list