<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in 'Java help plsss' | sgForums.com</title>
    <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    <language>en-US</language>
    <ttl>60</ttl>
    <atom:link rel="search" type="application/opensearchdescription+xml" href="http://www.sgforums.com/open_search.xml"/>
    <description></description>
    <item>
      <title>Java help plsss replied by Evo4eva @ Fri, 04 Jul 2008 23:40:37 +0800</title>
      <description>&lt;p&gt;thx...help alot....&lt;img src=
"/images/emoticons/kde-3.5.8/set1/biggrin.png" alt=
"biggrin.png" /&gt;&lt;br /&gt;
ermmm,it is not homework,just wanna try this method in my
assignment thingy...lol...&lt;br /&gt;
D:&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 23:40:37 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323070:8218652</guid>
      <author>Evo4eva</author>
      <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    </item>
    <item>
      <title>Java help plsss replied by LatecomerX @ Fri, 04 Jul 2008 20:46:49 +0800</title>
      <description>&lt;blockquote&gt;
&lt;div class="quote_from"&gt;Originally posted by Evo4eva:&lt;/div&gt;
&lt;div class="quote_body"&gt;
&lt;p&gt;ermm,i want to noe the code for reading in the first alphabet as
a input only.&lt;br /&gt;
eg: NAME&amp;nbsp;&amp;nbsp; den take in N only....help me?...lol..&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;Assuming you already know how to get input using the Scanner
class, just chain the charAt() method after calling the next()
method.&lt;/p&gt;
&lt;p&gt;&lt;a href=
"http://forums.macrumors.com/showthread.php?t=148798#post_message_1729620"
rel=
"nofollow"&gt;http://forums.macrumors.com/showthread.php?t=148798#post_message_1729620&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;More information about the charAt() method here.&lt;/p&gt;
&lt;p&gt;&lt;a href=
"http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#charAt(int)"
rel=
"nofollow"&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#charAt(int)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically, what you are doing here is, when you call the next()
method, it returns a String object which contains the input from
the user (it's actually a &lt;a href=
"http://mindprod.com/jgloss/token.html" rel="nofollow"&gt;token&lt;/a&gt; of
the user input but we won't talk about it here). The charAt()
method, coming from the String class, allows you to pick a
character out of a String object. Say, for example, a user types in
"sgForums" as input. If I want to retrieve the 3rd letter 'F', the
offset of the letter would be 2 (skip 2 letters), thus I would call
next().charAt(2) from a Scanner object.&lt;/p&gt;
&lt;p&gt;If you don't understand any part of my post, please don't
hesitate to clarify with me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 20:46:49 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323070:8218388</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    </item>
    <item>
      <title>Java help plsss replied by Fatum @ Fri, 04 Jul 2008 19:17:58 +0800</title>
      <description>&lt;p&gt;I hope tat was not homework ...&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 19:17:58 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323070:8218261</guid>
      <author>Fatum</author>
      <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    </item>
    <item>
      <title>Java help plsss replied by GIB @ Fri, 04 Jul 2008 19:12:10 +0800</title>
      <description>&lt;p&gt;For I/O, &lt;a href=
"http://pages.cs.wisc.edu/~cs302/io/JavaIO.html" rel=
"nofollow"&gt;http://pages.cs.wisc.edu/~cs302/io/JavaIO.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For string, &lt;a href=
"http://www.javabeginner.com/java-string-class.htm" rel=
"nofollow"&gt;http://www.javabeginner.com/java-string-class.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These 2 pages should have all the codes you would need.&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 19:12:10 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323070:8218257</guid>
      <author>GIB</author>
      <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    </item>
    <item>
      <title>Java help plsss replied by Evo4eva @ Fri, 04 Jul 2008 13:09:12 +0800</title>
      <description>&lt;p&gt;ermm,i want to noe the code for reading in the first alphabet as
a input only.&lt;br /&gt;
eg: NAME&amp;nbsp;&amp;nbsp; den take in N only....help me?...lol..&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 13:09:12 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323070:8216971</guid>
      <author>Evo4eva</author>
      <link>http://www.sgforums.com/forums/2250/topics/323070</link>
    </item>
  </channel>
</rss>
