Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to use the charAt method

807599Feb 26 2007 — edited Feb 26 2007
If the user inputs a random string of characters...

How would I use the charAt method (along with a counter) to locate and count the number of a specific character (for example, a period)?

Thanks!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2007
Added on Feb 26 2007
21 comments
1,011 views