• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

find a String

 
marc spoon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
what�s the best way to find a String in an ending list of other Strings?
marc
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's an ending list?

Anyways, from the API:
indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic