equalsIgnoreCase() and J2Me Polish

Hi,

I am making an application in J2Me Polish. My application is usingequalsIgnoreCase() method.

When i compile the application w/o Polish it works fine but it shows error when i compile it with the J2ME Polish.

The error is: cannot resolve symbol.

I have used Nokia/6681 group in the build.xml which supports MIDP 2.0/CLDC 1.1

But it i s not able to resolve this method.

Please help me in solving it.

Regards,

Divya

[479 byte] By [Divyasa] at [2007-10-3 3:20:52]
# 1
hiuse the methods equals() instead of equalsIgnoreCase() and it should compile fine.hope it helpsseb
sebvena at 2007-7-14 21:13:05 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
no such method is there equalsIgnoreCase for j2me .
sailesh_dita at 2007-7-14 21:13:05 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Just do a toLowerCase() and then compare with a lowercase string. Should work just fine..
deepspacea at 2007-7-14 21:13:05 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
thanks for the information but cant we use equalsIgnoreCase method anyhow in J2ME Polish.Is this the limitation of the J2ME Polish.......
Divyasa at 2007-7-14 21:13:05 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Faced the same problem, I tried using :- if(firstname.compareTo("java")==0)Worked for me, hope this helps :)
RaviMudaliara at 2007-7-14 21:13:05 > top of Java-index,Java Mobility Forums,Java ME Technologies...