<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: String Concatenation</title>
	<atom:link href="http://www.iwobanas.com/2009/06/string-concatenation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iwobanas.com/2009/06/string-concatenation/</link>
	<description>Adobe Flex and AIR thoughts, custom components, how-to’s...</description>
	<lastBuildDate>Tue, 22 Nov 2011 12:17:54 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: DB Conner</title>
		<link>http://www.iwobanas.com/2009/06/string-concatenation/comment-page-1/#comment-7455</link>
		<dc:creator>DB Conner</dc:creator>
		<pubDate>Sat, 17 Sep 2011 15:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.iwobanas.com/?p=96#comment-7455</guid>
		<description>Thanks for doing this. Extensive string concatenation with plus operator is definitely a no-no in the C# world, much better to use StringBuilder class.

So it is really good to know that one operator does the trick in Actionscript. 

regards...</description>
		<content:encoded><![CDATA[<p>Thanks for doing this. Extensive string concatenation with plus operator is definitely a no-no in the C# world, much better to use StringBuilder class.</p>
<p>So it is really good to know that one operator does the trick in Actionscript. </p>
<p>regards&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wilson</title>
		<link>http://www.iwobanas.com/2009/06/string-concatenation/comment-page-1/#comment-7069</link>
		<dc:creator>Michael Wilson</dc:creator>
		<pubDate>Mon, 22 Aug 2011 14:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.iwobanas.com/?p=96#comment-7069</guid>
		<description>I&#039;m currently learning flex and I ran into this problem. Unfortunately Flex array handling seems to be pretty slow. Here is the solution I adopted;

	private function readASCII(length:int):String
	{
		
		var text:String = &quot;&quot;;
		while (length &gt; 0) {

			var temp:String;
		    if (length &gt;= 8)
		    {
		        temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get(),
				                           inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get());
			    length = length - 8;
		    }
		    else if(length &gt;= 4)
		    {
		        temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get());
			    length = length - 4;
		    }
		    else if(length &gt;= 2)
		    {
			    temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get());
			    length = length - 2;
		    } else {
			    temp = String.fromCharCode(inputBuffer.get());
			    length--;			
		    }
			text = text.concat(temp);

		}	
		return text;

	}</description>
		<content:encoded><![CDATA[<p>I&#8217;m currently learning flex and I ran into this problem. Unfortunately Flex array handling seems to be pretty slow. Here is the solution I adopted;</p>
<p>	private function readASCII(length:int):String<br />
	{</p>
<p>		var text:String = &#8220;&#8221;;<br />
		while (length &gt; 0) {</p>
<p>			var temp:String;<br />
		    if (length &gt;= <img src='http://www.iwobanas.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /><br />
		    {<br />
		        temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get(),<br />
				                           inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get());<br />
			    length = length &#8211; 8;<br />
		    }<br />
		    else if(length &gt;= 4)<br />
		    {<br />
		        temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get(), inputBuffer.get(), inputBuffer.get());<br />
			    length = length &#8211; 4;<br />
		    }<br />
		    else if(length &gt;= 2)<br />
		    {<br />
			    temp = String.fromCharCode(inputBuffer.get(), inputBuffer.get());<br />
			    length = length &#8211; 2;<br />
		    } else {<br />
			    temp = String.fromCharCode(inputBuffer.get());<br />
			    length&#8211;;<br />
		    }<br />
			text = text.concat(temp);</p>
<p>		}<br />
		return text;</p>
<p>	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfredo</title>
		<link>http://www.iwobanas.com/2009/06/string-concatenation/comment-page-1/#comment-823</link>
		<dc:creator>Alfredo</dc:creator>
		<pubDate>Thu, 29 Jul 2010 19:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.iwobanas.com/?p=96#comment-823</guid>
		<description>Thanks posting this ... we were just about to create this test ourselves ;)</description>
		<content:encoded><![CDATA[<p>Thanks posting this &#8230; we were just about to create this test ourselves <img src='http://www.iwobanas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.iwobanas.com/2009/06/string-concatenation/comment-page-1/#comment-67</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 26 Aug 2009 02:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.iwobanas.com/?p=96#comment-67</guid>
		<description>Thanks for proving this out, it answered my question and saved me time.  Flex continues to impress me ...</description>
		<content:encoded><![CDATA[<p>Thanks for proving this out, it answered my question and saved me time.  Flex continues to impress me &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

