Find a complete word in a string java
- by Shekhar
Hello,
I am writing a piece of code in which i have to find only complete words for example if i have
String str = "today is tuesday";
and i am searching for "t" then i should not find any word.
Can anybody tell how can i write such a program in java?