From: Markus Scherer (markus.scherer@jtcsv.com)
Date: Tue Feb 25 2003 - 11:34:04 EST
SRIDHARAN Aravind wrote:
> I just want to know whether a particulat string from the source has got special characters. How can I make a dynamic check for it?
Well, you usually use the methods on the String class to search for a matching character or
substring, or methods to iterate through the code points in the string.
Are you asking about how to use strings at all in Java? See java.sun.com
Are you looking for how to iterate through code points in Java when the code points may be
supplementary? See http://www.unicode.org/notes/tn7/
Are you looking for such iteration tools from a ready-to-use library? See
http://oss.software.ibm.com/icu4j/ (UTF16 and UCharacterIterator classes)
Are you looking for something else?
markus
-- Opinions expressed here may not reflect my company's positions unless otherwise noted.
This archive was generated by hypermail 2.1.5 : Tue Feb 25 2003 - 12:11:50 EST