Statalist


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

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


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: is there a -hexdump- command for variables?
Date   Thu, 12 Nov 2009 18:36:44 -0500

On Thu, Nov 12, 2009 at 3:26 PM, Ada Ma <heu034@googlemail.com> 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/



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