This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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