Skip to Main Content

Java Programming

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!

Detect uppercase or lowercase strings?

807603Nov 5 2007 — edited Nov 5 2007
Hi, I have a plain old String:
String foo = "FOO";
How can I detect if foo is all uppercase, all lowercase, or capitalized? In my program foo is dynamic. Thanks in advance...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2007
Added on Nov 5 2007
3 comments
3,170 views