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]
Wed, 1 Feb 2012 13:05:14 +0100
i have 2 questions:
i am using split command to divide my string variables into parts, is
there any way to force the split only by last occurrence of the split
e.g. if strings are like "ABC BLINCAR COMPANY INC" and i want remove
the "INC" from all the strings. if i use split, p(INC) i will get "ABC
BL" instead of "ABC BLINCAR COMPANY".
2. is there any way to force stata to ignore letters case when
e.g. if i merge 2 files by string variable i want that name "ROGER"
and name "Roger" would be recognized as the same string
* For searches and help try: