Find a complete word in a string java
Posted
by Shekhar
on Stack Overflow
See other posts from Stack Overflow
or by Shekhar
Published on 2010-05-04T13:05:53Z
Indexed on
2010/05/04
13:08 UTC
Read the original article
Hit count: 143
java
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?
© Stack Overflow or respective owner