Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: string functions quotation marks

From   "Eric Uslaner" <>
To   <>
Subject   st: Re: string functions quotation marks
Date   Sat, 24 Sep 2011 11:06:05 -0400


I have a dataset (obviously not my own) in which the names of countries are all in quotation marks.  I need to get rid of the quotation marks to merge this dataset with another.  However, the situation is somewhat complicated.  Country names may have one word (e.g., "Canada" or "Yemen"), two words ("North Korea" is one example), three words ("United States of America" or "Yemen Arab Republic"), or more ("Democratic Republic of the Congo").  Is there a way to get rid of these quotation marks?  I have read the manual and looked at help from within Stata and can't find a solution.

Thanks for any help,


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index