June 21st, 2013, 11:10 AM
How do you find a word inside a string without using the string class methods?
Can anybody please help me with this? I know it's pretty finding a word using string methods but I want to learn a different approach. I would really appreciate it if someone helps, I really really want to learn how.
June 21st, 2013, 02:24 PM
Do you know how to walk through the String and look at each character (hint: a combination of a "for" loop, charAt() and length() will be needed)?
Once you have that, what would you do?