Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: String match(strmatch) for case insensitive
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: String match(strmatch) for case insensitive
Date
Mon, 3 Feb 2014 16:38:20 +0000
In what sense "tedious" or in any other way disadvantageous or unattractive?
I can't think of an easier or better way to make comparisons
insensitive to case than to use -upper()- or -lower()- to put strings
on the same basis. The alternative would appear to be a regular
expression that you need to get exactly right.
Nick
[email protected]
On 3 February 2014 16:33, Veeresh Thummadi <[email protected]> wrote:
> I am looking if i can make a strmatch for strings so that it can be
> case insensitive. I don't want to use the upper or lower case
> conversion as it appears to be tedious. Is there a way out for case
> insensitive strings?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/