Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Extract an alphabet from a string?
Date: Tue, 22 Apr 2008 21:10:04 +0000 (UTC)
Organization: Methodist Rehab Center
Lines: 13
Message-ID: <fulk7c$7uv$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1208898604 8159 172.30.248.35 (22 Apr 2008 21:10:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Apr 2008 21:10:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1134607
Xref: news.mathworks.com comp.soft-sys.matlab:464632



How can I extract an alphabet from a string?  For example, 
I have a string

StrVar = 'abcde'

How can I extract the 2nd alphabet (which is 'b') from the 
string?  I remember that I was able to do it with 
QuickBasic sometime ago but cannot find the comparable 
command in Matlab.

Thanks.

John