Quote:
Originally Posted by titaniumdecoy
@Iftikhar: ...
|
Damn that C#, eh? :beard:
On subject, you could either do it with the ArrayList or a char[] as suggested, but if you eventually want to look at substrings as well (e.g. see if ABAB occurred), you might consider keeping it as a string and using charAt(). That way you can use substring() for finding the substrings, rather than selecting a subset of an array[list].