<?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 Function Efficiency</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:03:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anthony</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/#comment-5809</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Fri, 21 Jan 2005 17:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=917#comment-5809</guid>
		<description>&lt;p&gt;is there a way to name a range via formula? I am importing data into excel and formulas pass just fine menu commands do not.  I have read in other places on the web that the name is really an undisplayed formula (http://www.j-walk.com/ss/excel/odd/odd10.htm).  Does anyone know the syntax?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>is there a way to name a range via formula? I am importing data into excel and formulas pass just fine menu commands do not.  I have read in other places on the web that the name is really an undisplayed formula (<a href="http://www.j-walk.com/ss/excel/odd/odd10.htm" rel="nofollow">http://www.j-walk.com/ss/excel/odd/odd10.htm</a>).  Does anyone know the syntax?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Marx</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/#comment-2820</link>
		<dc:creator>Jake Marx</dc:creator>
		<pubDate>Tue, 07 Dec 2004 05:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=917#comment-2820</guid>
		<description>&lt;p&gt;Contrarian - How much better would Windows be if it were 66% faster?  I know we&#039;re talking milliseconds at best, but performance issues add up over the long run. If you&#039;re doing heavy file I/O in VB(A), it&#039;s a good idea to use Left$ instead of Left. I use it all the time because it&#039;s very little extra effort and makes my code more efficient.&lt;/p&gt;
&lt;p&gt;And no, it won&#039;t work in VBScript, as VBScript doesn&#039;t support explicit data types - everything is a Variant.&lt;/p&gt;
&lt;p&gt;You&#039;re correct - using the $ &lt;a href=&quot;http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconstring$functionchangesinvb.asp&quot;&gt;makes no difference in VB.NET&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I can&#039;t comment on whether you have anything better to do or not. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Contrarian &#8211; How much better would Windows be if it were 66% faster?  I know we&#8217;re talking milliseconds at best, but performance issues add up over the long run. If you&#8217;re doing heavy file I/O in VB(A), it&#8217;s a good idea to use Left$ instead of Left. I use it all the time because it&#8217;s very little extra effort and makes my code more efficient.</p>
<p>And no, it won&#8217;t work in VBScript, as VBScript doesn&#8217;t support explicit data types &#8211; everything is a Variant.</p>
<p>You&#8217;re correct &#8211; using the $ <a href="http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconstring$functionchangesinvb.asp">makes no difference in VB.NET</a>.</p>
<p>I can&#8217;t comment on whether you have anything better to do or not. <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Contrarian</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/#comment-2818</link>
		<dc:creator>The Contrarian</dc:creator>
		<pubDate>Tue, 07 Dec 2004 02:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=917#comment-2818</guid>
		<description>&lt;p&gt;Interesting information, if somewhat academic.  In my tests (20 sets each with 100,000 iterations of&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container text default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;text codecolorer&quot;&gt;&#160; &#160; &#160; &#160; &#160; &#160; rslt = Left(&quot;12345678901234567890&quot;, 18)&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container text default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;text codecolorer&quot;&gt;&#160; &#160; &#160; &#160; &#160; &#160; rslt = Left$(&quot;12345678901234567890&quot;, 18)&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;the string version at 0.019 seconds was about 66% faster than the variant version at 0.056 seconds.&lt;/p&gt;
&lt;p&gt;And, yet, how important is this performance issue in the grand scheme of things?&lt;/p&gt;
&lt;p&gt;In the 20 sets each with 100,000 iterations, the Left function took an average of 5.59E-07 seconds -- yes, that&#039;s correct, 0.559 &lt;b&gt;micro&lt;/b&gt;seconds, i.e., one-half of one millionth of one second!&lt;/p&gt;
&lt;p&gt;Finally, some compatibility notes: (1) Left$ is not recognized by VB Script. (2) The same test as above in a VB.Net Windows program yielded results for Left that matched those for Left$.  0.015625 for 100,000 iterations and between 0.09375 and 0.109375 for 1,000,000 iterations.&lt;/p&gt;
&lt;p&gt;Ummmm...don&#039;t I have anything better to do?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Interesting information, if somewhat academic.  In my tests (20 sets each with 100,000 iterations of</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rslt = Left(&#8220;12345678901234567890&#8243;, 18)</div>
</div>
<p>and</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rslt = Left$(&#8220;12345678901234567890&#8243;, 18)</div>
</div>
<p>the string version at 0.019 seconds was about 66% faster than the variant version at 0.056 seconds.</p>
<p>And, yet, how important is this performance issue in the grand scheme of things?</p>
<p>In the 20 sets each with 100,000 iterations, the Left function took an average of 5.59E-07 seconds &#8212; yes, that&#8217;s correct, 0.559 <b>micro</b>seconds, i.e., one-half of one millionth of one second!</p>
<p>Finally, some compatibility notes: (1) Left$ is not recognized by VB Script. (2) The same test as above in a VB.Net Windows program yielded results for Left that matched those for Left$.  0.015625 for 100,000 iterations and between 0.09375 and 0.109375 for 1,000,000 iterations.</p>
<p>Ummmm&#8230;don&#8217;t I have anything better to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hoch</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/06/string-function-efficiency/#comment-2817</link>
		<dc:creator>Paul Hoch</dc:creator>
		<pubDate>Tue, 07 Dec 2004 01:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=917#comment-2817</guid>
		<description>&lt;p&gt;It really seems like I should have know this already but I didn&#039;t.  Thanks so much for this.  Hopefully I&#039;ll put it to good use right away!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It really seems like I should have know this already but I didn&#8217;t.  Thanks so much for this.  Hopefully I&#8217;ll put it to good use right away!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

