<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zenduo Studios &#187; code</title>
	<atom:link href="http://www.zenduo.co.uk/blog/index.php/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zenduo.co.uk/blog</link>
	<description>Website Design Cornwall - Zenduo Studios</description>
	<lastBuildDate>Wed, 26 Oct 2011 19:42:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find and Replace AS2</title>
		<link>http://www.zenduo.co.uk/blog/index.php/find-and-replace-as2/</link>
		<comments>http://www.zenduo.co.uk/blog/index.php/find-and-replace-as2/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 14:53:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ActionScript & Flash]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.zenduo.co.uk/blog/?p=247</guid>
		<description><![CDATA[A nice simple function to find and replace characters in a string using actionscript 2. This is perfect if you want to replace words or even remove words/characters from a string. function stringReplace(myString:String, findThis:String, replaceThis:String):String{ return myString.split(findThis).join(replaceThis); } myString = "example-of-some-words-with-dashes" /////Strip out all of the dashes by replacing -'s with nothing myString = stringReplace(linkname, [...]]]></description>
			<content:encoded><![CDATA[<p>A nice simple function to find and replace characters in a string using actionscript 2. This is perfect if you want to replace words or even remove words/characters from a string.</p>
<p><code>function stringReplace(myString:String, findThis:String, replaceThis:String):String{<br />
	return myString.split(findThis).join(replaceThis);<br />
}</p>
<p>myString = "example-of-some-words-with-dashes"<br />
/////Strip out all of the dashes by replacing -'s with nothing<br />
myString = stringReplace(linkname, "-", "");<br />
trace(myString)</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenduo.co.uk/blog/index.php/find-and-replace-as2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

