Re: String to char conversion

1998-11-10 Thread mlorton
> I have a string that contains the characters \u201a - that is a six > character string. How do I convert this to a single Unicode char ? Well, if you *know* it begins with "\u", (char) Integer.parseInt(s.substring(2), 16); will work M.

String to char conversion

1998-11-10 Thread Jerry Treweek
Hi I've looked everywhere (except in the right place) and I can't find something that should be so obvious when you tell me it will smack me in the face and I'll hide in shame for a year! I have a string that contains the characters \u201a - that is a six character string. How do I convert this