Re: Finding string with special characters

From: Markus Scherer (
Date: Tue Feb 25 2003 - 11:34:04 EST

  • Next message: Asmus Freytag: "Re: Currency symbols (was: "Re: guarani sign")"

    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

    Are you looking for how to iterate through code points in Java when the code points may be
    supplementary? See

    Are you looking for such iteration tools from a ready-to-use library? See (UTF16 and UCharacterIterator classes)

    Are you looking for something else?


    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