Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor binsint's Avatar
    Join Date
    Nov 2010
    Posts
    118
    Is it possible to disable or ignore CASE SENSITIVITY in J2ME? how?

    like "dog" = "Dog" = "dOg" = "doG"..

    nothing seems different between these words. I need to use the words though

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    use String.equalsIgnoreCase for case insensitive comparison between Strings

  3. #3
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Probably no longer a relevant piece of information... but note that equalsIgnoreCase() is supported only in CLDC-1.1. If you need CLDC-1.0 compatibility, use String.regionMatches().

    Graham.

Similar Threads

  1. Is case sensitivity is not possible?
    By saniat.rasel in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-04-10, 12:48
  2. ligth sensitivity
    By snoopyAU in forum Mobile Java General
    Replies: 8
    Last Post: 2008-09-07, 22:41
  3. N800 Touch Sensitivity
    By tdaniel2000 in forum Mobile Web Server
    Replies: 0
    Last Post: 2007-06-28, 22:21
  4. Replies: 0
    Last Post: 2002-11-07, 09:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved