<?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: Finding Strings</title>
	<atom:link href="http://blogs.mathworks.com/loren/2006/12/20/finding-strings/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:19:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-32359</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Tue, 05 Jul 2011 13:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-32359</guid>
		<description>Sarah-

Have you checked out strcmpi?

--Loren</description>
		<content:encoded><![CDATA[<p>Sarah-</p>
<p>Have you checked out strcmpi?</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-32352</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Wed, 29 Jun 2011 20:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-32352</guid>
		<description>I have a question as to how to compare strings without case sensitivity. I am currently storing strings in an array and then I need to search this array to see of the option is there. I was using ismember but that only works if the user puts it in exactly how it is in the Array. Is there another function that does what ismember does but for an array of string elements.

Thanks!</description>
		<content:encoded><![CDATA[<p>I have a question as to how to compare strings without case sensitivity. I am currently storing strings in an array and then I need to search this array to see of the option is there. I was using ismember but that only works if the user puts it in exactly how it is in the Array. Is there another function that does what ismember does but for an array of string elements.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-30649</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Tue, 29 Sep 2009 10:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-30649</guid>
		<description>Elena-

Impressive performance boost!

--Loren</description>
		<content:encoded><![CDATA[<p>Elena-</p>
<p>Impressive performance boost!</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elena</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-30648</link>
		<dc:creator>Elena</dc:creator>
		<pubDate>Mon, 28 Sep 2009 21:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-30648</guid>
		<description>Hi Loren,

Thanks to your suggestion of using &#039;ismember&#039; instead of looping with &#039;strcmp&#039; I managed to reduce processing time from 6 hours to 7 seconds.  Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Loren,</p>
<p>Thanks to your suggestion of using &#8216;ismember&#8217; instead of looping with &#8216;strcmp&#8217; I managed to reduce processing time from 6 hours to 7 seconds.  Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-21643</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 19 Nov 2007 13:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-21643</guid>
		<description>Phoebe-

If you are looking to see if 2 strings are equal, check out the functions in the strcmp or ismember families.

--Loren</description>
		<content:encoded><![CDATA[<p>Phoebe-</p>
<p>If you are looking to see if 2 strings are equal, check out the functions in the strcmp or ismember families.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phoebe</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-21476</link>
		<dc:creator>Phoebe</dc:creator>
		<pubDate>Fri, 16 Nov 2007 23:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-21476</guid>
		<description>You are probably not still checking this, but this is the closest info I can find related to my question.

I am trying to compare 2 string arrays and return only the full strings (not sub strings) in common for both (comparing a list of 2 names to find the matching names). Is there a simple way to do this? I can match using single strings, but not the whole array.

Thanks for any help you can provide.</description>
		<content:encoded><![CDATA[<p>You are probably not still checking this, but this is the closest info I can find related to my question.</p>
<p>I am trying to compare 2 string arrays and return only the full strings (not sub strings) in common for both (comparing a list of 2 names to find the matching names). Is there a simple way to do this? I can match using single strings, but not the whole array.</p>
<p>Thanks for any help you can provide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-16068</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Tue, 20 Feb 2007 11:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-16068</guid>
		<description>Sridhar-

There is nothing built into MATLAB for that.  You&#039;d need to write your own code for processing getting the data from the edit box and analyzing it.

--Loren</description>
		<content:encoded><![CDATA[<p>Sridhar-</p>
<p>There is nothing built into MATLAB for that.  You&#8217;d need to write your own code for processing getting the data from the edit box and analyzing it.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sridhar</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-16067</link>
		<dc:creator>sridhar</dc:creator>
		<pubDate>Tue, 20 Feb 2007 08:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-16067</guid>
		<description>i meant getting a partially selected string , is there any getselected command beacuse &quot;string&quot; property shows entire string. how can we extract a partially selected string by the user.
let us assume a string in the edit box 
 st=&quot;subject predicate noun&quot;;
if user selects a &quot;noun&quot; inside editbox , and clicks a menu to perform some operation on this selection . how would program know &quot;noun&quot; has been selected out of &quot;subject predicate noun&quot;.
is there any getselected?</description>
		<content:encoded><![CDATA[<p>i meant getting a partially selected string , is there any getselected command beacuse &#8220;string&#8221; property shows entire string. how can we extract a partially selected string by the user.<br />
let us assume a string in the edit box<br />
 st=&#8221;subject predicate noun&#8221;;<br />
if user selects a &#8220;noun&#8221; inside editbox , and clicks a menu to perform some operation on this selection . how would program know &#8220;noun&#8221; has been selected out of &#8220;subject predicate noun&#8221;.<br />
is there any getselected?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sridhar</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-16066</link>
		<dc:creator>sridhar</dc:creator>
		<pubDate>Tue, 20 Feb 2007 08:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-16066</guid>
		<description>i meant getting a partially selected string , is there any getselected command</description>
		<content:encoded><![CDATA[<p>i meant getting a partially selected string , is there any getselected command</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/12/20/finding-strings/#comment-16062</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 19 Feb 2007 11:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=70#comment-16062</guid>
		<description>Sridhar-

You should read about handle graphics.  You&#039;ll need to get the &#039;string&#039; value from your edit box.

--Loren</description>
		<content:encoded><![CDATA[<p>Sridhar-</p>
<p>You should read about handle graphics.  You&#8217;ll need to get the &#8216;string&#8217; value from your edit box.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
</channel>
</rss>

