<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Parsing_Text</id>
	<title>Arduino: Parsing Text - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Parsing_Text"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Parsing_Text&amp;action=history"/>
	<updated>2026-04-20T15:27:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Parsing_Text&amp;diff=45284&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: Sumber: http://stackoverflow.com/questions/9072320/split-string-into-string-array   ==Code==   String getValue(String data, char separator, int index)  {    int found = 0;    int strIndex[...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Parsing_Text&amp;diff=45284&amp;oldid=prev"/>
		<updated>2015-12-09T11:31:53Z</updated>

		<summary type="html">&lt;p&gt;New page: Sumber: http://stackoverflow.com/questions/9072320/split-string-into-string-array   ==Code==   String getValue(String data, char separator, int index)  {    int found = 0;    int strIndex[...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sumber: http://stackoverflow.com/questions/9072320/split-string-into-string-array&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
 String getValue(String data, char separator, int index)&lt;br /&gt;
 {&lt;br /&gt;
   int found = 0;&lt;br /&gt;
   int strIndex[] = {0, -1};&lt;br /&gt;
   int maxIndex = data.length()-1;&lt;br /&gt;
 &lt;br /&gt;
   for(int i=0; i&amp;lt;=maxIndex &amp;amp;&amp;amp; found&amp;lt;=index; i++){&lt;br /&gt;
     if(data.charAt(i)==separator || i==maxIndex){&lt;br /&gt;
         found++;&lt;br /&gt;
         strIndex[0] = strIndex[1]+1;&lt;br /&gt;
         strIndex[1] = (i == maxIndex) ? i+1 : i;&lt;br /&gt;
     }&lt;br /&gt;
   } &lt;br /&gt;
 &lt;br /&gt;
   return found&amp;gt;index ? data.substring(strIndex[0], strIndex[1]) : &amp;quot;&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
==Cara pakai==&lt;br /&gt;
&lt;br /&gt;
 String split = &amp;quot;hi this is a split test&amp;quot;;&lt;br /&gt;
 String word3 = getValue(split, &amp;#039; &amp;#039;, 2);&lt;br /&gt;
 Serial.println(word3);&lt;br /&gt;
&lt;br /&gt;
Hasilnya adalah&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;is&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://stackoverflow.com/questions/9072320/split-string-into-string-array&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>