I am inputting a string and I want to add the delimeters in that string to a different string and I was wondering how you would do that. This is the code I have at the moment.
StringTokenizer tokenizer = new StringTokenizer(input, "'.,><-=[]{}+!@#$%^&*()~`;/?"); while (tokenizer.hasMoreTokens()){ //add delimeters to string here } Any help would be greatly appreciated(: