<?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>Aptech &#187; Answers for "How can I convert a string to a character vector?"</title>
	<atom:link href="http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aptech.com</link>
	<description></description>
	<lastBuildDate>Fri, 08 Feb 2013 19:12:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>By: aptech</title>
		<link>http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/#answer-2974</link>
		<comments>http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/#answer-2974#comments</comments>
		<pubDate>Thu, 20 Dec 2012 17:37:15 +0000</pubDate>
		<dc:creator>aptech</dc:creator>
		
		<guid isPermaLink="false">http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/#answer-2974</guid>
		<description><![CDATA[The type of the output follows the first element when using the string addition operator ($+) in GAUSS. Therefore you can use this operator to convert a string to a character vector like this: myString = "GDP"; myCharVec = 0$+myString; &#8230; <a href="http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/#answer-2974">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The type of the output follows the first element when using the string addition operator (<tt>$+</tt>) in GAUSS. Therefore you can use this operator to convert a string to a character vector like this:</p>
<pre>
myString = <span style="color:#990099">"GDP"</span>;
myCharVec = 0$+myString;
</pre>
<p>Now <tt>myCharVec</tt> will be a character vector which you can print using the (<tt>$</tt>) operator like so:</p>
<pre>
<span style="color:#000099">print</span> $myCharVec;
</pre>
<p>which will return:</p>
<pre>
   GDP
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aptech.com/questions/how-can-i-convert-a-string-to-a-character-vector/#answer-2974/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.aptech.com @ 2013-02-09 01:46:50 --