Statalist


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

RE: st: is there a -hexdump- command for variables?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: is there a -hexdump- command for variables?
Date   Mon, 16 Nov 2009 11:17:12 -0000

Thanks to Sergiy for the mention. 

-charlist- is downloadable from SSC. 

In addition, check out the -egen- function -sieve()- within -egenmore- on SSC. 

Nick 
n.j.cox@durham.ac.uk 

Sergiy Radyakin

see also -charlist- by NJC, here:
http://www.stata.com/statalist/archive/2002-12/msg00360.html

Ada Ma 

> 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.


*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index