HI ALL,
Is there any function available in j2me that compares two strings from reverse upto a particular character and return 0 if two strings are matches.
Please help me ASAP....
Thanx..
HI ALL,
Is there any function available in j2me that compares two strings from reverse upto a particular character and return 0 if two strings are matches.
Please help me ASAP....
Thanx..
Hi Devdattac,
I am not sure if a conventional function for your requirement is avaible.
However you can create your own function, I had seen a reverse() function somewhere and equals() function which could be used in your custom function.
Best of Luck,
Croozeus
Pankaj Nathani
www.croozeus.com
Hi,
I think for this you have to code you own methods..
Approach can be that first get the reverse string of the string of string you wana search and then go through that string using another method search().
Hope idea can help you..
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
Use the following Method.
You have a length of string by lenghth(). Then use the following function in for loop. Decrement index one by one and concat that character so you will get reverse String.
public native char charAt(int index);