Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art > Tech Help

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2010-02-26, 06:32 AM in reply to Lenny's post starting "I've had a look at the API, and I can't..."
Another method if you want it:

Suppose you have String str. Then you could say:

Character.isUpperCase(str.charAt(0));

This returns a boolean value.

So you might have something like

Code:
if(Character.isUpperCase(str.charAt(0)))
{
     // do something
}
else
{
    // do something else
}
.

Here are a couple of links that might help:

http://java.sun.com/j2se/1.4.2/docs/...Character.html
http://java.sun.com/j2se/1.4.2/docs/...ng/String.html

Last edited by Demosthenes; 2010-02-26 at 06:38 AM.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Faq Demosthenes Tech Help 4 2004-10-25 04:43 PM
Jeeze Ppl Plz Post! I)ark_Phoenix General Gaming 6 2002-05-05 05:04 PM
plz help me araider Diablo I & II 11 2002-04-06 02:16 AM
Programming GameCube Tech Help 7 2002-03-12 12:23 PM


All times are GMT -6. The time now is 02:57 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.