| Author |
Test a specific char in a string
|
Robert Brown
Greenhorn
Joined: Apr 02, 2009
Posts: 4
|
|
|
Ok I have a few strings however I want to test each character, I know I need to run it through a loop and all but how can I look at each individual character if it is in a string?
|
 |
Garrett Rowe
Ranch Hand
Joined: Jan 17, 2006
Posts: 1295
|
|
|
If you look at the documentation for java.lang.String, you should find a method that returns the char at a specified index in the String
|
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
|
 |
Robert Brown
Greenhorn
Joined: Apr 02, 2009
Posts: 4
|
|
Thank you very much just what I needed
|
 |
 |
|
|
subject: Test a specific char in a string
|
|
|