This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
What is the most efficient way to strip out non alphanumeric characters from a string assuming it's uppercase and I only want the first 10 non alphanumerics? And I can't use regular expressions ! At the moment I have converted it to a char array, then considered each element before putting that into a new char array, but is there a more elegant solution? Thanks Dave