<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How can I use Scanner ?"]]></title>
		<link>http://forums.hotjoe.com/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic "How can I use Scanner ?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How can I use Scanner ?</title>
				<description><![CDATA[ Hi Community, <br /> <br /> I'm new user of java Programming, could you help me with the following problem?<br /> <br /> I have the following parameter : name@surname  and I have to take the "name" only. <br /> <br /> Until now I'm using this syntax:<br /> <br /> Scanner sc = Scanner ("name@surname").useDelimiter("@");<br /> <br /> Now How can I get the name only in order to have, for example:<br /> <br /> datasource.setParameter("vaiable","name") ?????<br /> <br /> Do you know any idea?<br /> <br /> Thank you very much<br />  <img src="http://forums.hotjoe.com//images/smilies/ed515dbff23a0ee3241dcc0a601c9ed6.gif" /> <br />  ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/692/2606.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/692/2606.page</link>
				<pubDate><![CDATA[Wed, 17 Feb 2010 08:41:57]]> GMT</pubDate>
				<author><![CDATA[ Sunb3]]></author>
			</item>
			<item>
				<title>Re:How can I use Scanner ?</title>
				<description><![CDATA[ Personally I would use the [url=http://java.sun.com/javase/6/docs/api/java/lang/String.html#split%28java.lang.String%29]String.split()[/url] method.  You would read from the Scanner as a String and then split() the parts into a String array.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/692/2607.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/692/2607.page</link>
				<pubDate><![CDATA[Wed, 17 Feb 2010 11:10:33]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:How can I use Scanner ?</title>
				<description><![CDATA[ Dont' worry I used "name@surname".substring(0,4) to extract "name", thank you]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/692/2608.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/692/2608.page</link>
				<pubDate><![CDATA[Thu, 18 Feb 2010 01:21:51]]> GMT</pubDate>
				<author><![CDATA[ Sunb3]]></author>
			</item>
	</channel>
</rss>
