• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to identify sub strings  RSS feed

 
james lim
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have an example string "Test I am 123 I am 456789 with the people and do it now with this I am going to do it now and really really do it now".

How do I get the 3 possibilies of strings output in between "I am" and "do it now" ?
 
Philip Thamaravelil
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should use index of and substring method in Java.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!