search sting in a word bound in J2SE 1.3
Posted on 2006-10-23
For some reason, I have to use j2se 1.3.
when i use indexOf() method, for example: there are two strings :
1. Physics of electronic and optoelectronic devices
2. Microelectronics and Nanotechnology
the word i need to find out is electronic, in this case string 1 should be the result, but if using indexOf() method, both strings will be the results.
my question is: is there a way that i can only get "Physics of electronic and optoelectronic devices"? by using j2se1.3
Thank you so much for your reply,