use the trim function; type -help trim- to learn about it
> I have a string file with entries such as:
> " davis"
> "davis "
> " davis "
> which stata is recognizing as different values, what I'd like to do is trim the spaces and have them all appear as
> How can I do that?
On Mon, Jun 22, 2009 at 7:31 PM, Richard
Goldstein<[hidden email]> wrote:
> use the trim function; type -help trim- to learn about it
Or more generally the -subinstr()- command, both are explained under
the help for string functions (type -man strfun-).
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American