• Post Reply Bookmark Topic Watch Topic
  • New Topic

Search for a given character in a string?  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please tell me how to search for a given char in a string?
Thank you!
 
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you not find anything applicable when you looked through the javadoc for the String class?
 
Alex Mindricel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to find a given character in a string that's enterd by the user.
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bears post still stands. Go through the documentation: java.lang.String
 
Alex Mindricel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok.Thank you guys!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!