<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168080</link>
    <title>MATLAB Central Newsreader - Extract an alphabet from a string?</title>
    <description>Feed for thread: Extract an alphabet from a string?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 22 Apr 2008 21:10:04 -0400</pubDate>
      <title>Extract an alphabet from a string?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168080#428286</link>
      <author>John Chow</author>
      <description>How can I extract an alphabet from a string?  For example, &lt;br&gt;
I have a string&lt;br&gt;
&lt;br&gt;
StrVar = 'abcde'&lt;br&gt;
&lt;br&gt;
How can I extract the 2nd alphabet (which is 'b') from the &lt;br&gt;
string?  I remember that I was able to do it with &lt;br&gt;
QuickBasic sometime ago but cannot find the comparable &lt;br&gt;
command in Matlab.&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Tue, 22 Apr 2008 21:33:01 -0400</pubDate>
      <title>Re: Extract an alphabet from a string?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168080#428291</link>
      <author>Bruno Luong</author>
      <description>&quot;John Chow&quot; &amp;lt;nospam@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fulk7c$7uv$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How can I extract the 2nd alphabet (which is 'b') from the &lt;br&gt;
&amp;gt; string?  &lt;br&gt;
&lt;br&gt;
StrVar(2)&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Tue, 22 Apr 2008 22:07:01 -0400</pubDate>
      <title>Re: Extract an alphabet from a string?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168080#428296</link>
      <author>Dan Haeg</author>
      <description>&quot;John Chow&quot; &amp;lt;nospam@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fulk7c$7uv$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; How can I extract an alphabet from a string?  For example, &lt;br&gt;
&amp;gt; I have a string&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; StrVar = 'abcde'&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How can I extract the 2nd alphabet (which is 'b') from the &lt;br&gt;
&amp;gt; string?  I remember that I was able to do it with &lt;br&gt;
&amp;gt; QuickBasic sometime ago but cannot find the comparable &lt;br&gt;
&amp;gt; command in Matlab.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
StrVar == char(98)&lt;br&gt;
&lt;br&gt;
or&lt;br&gt;
&lt;br&gt;
StrVar == 'b'</description>
    </item>
  </channel>
</rss>

