On Thu, Nov 12, 2009 at 3:26 PM, Ada Ma <[email protected]> wrote:
> Hi Statalisters,
>
> The -hexdump- command screens a file to check out what characters
> appear within a file. I am hoping to do something similar - but only
> with a subset of the variables within the data.
>
> I know that I can do it by saving the variables in a separate file,
> and do a -hexdump- on that file. I am just wondering if there are
> other command which would allow me to save that step.
>
> I have a couple dozens of string varibles and I want to check that
> they only have alphabetical and numerical characters within them, and
> strip out the characters which aren't. It's kind of hard to know what
> I need to strip out if I don't know what are in there to be strip out.
> Thus my question above.
see also -charlist- by NJC, here:
http://www.stata.com/statalist/archive/2002-12/msg00360.html
S.R.
>
> Many thanks for your help in advance!!
>
> Regards,
> Ada
>
>
> --
> Ada Ma
> Research Fellow
> Health Economics Research Unit
> University of Aberdeen, UK.
> http://www.abdn.ac.uk/heru/
> Tel: +44 (0) 1224 555189
> Fax: +44 (0) 1224 550926
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/