Hi Nick,
Thanks a lot for your suggestion about egenmore, I had managed to
generate a list of characters that shouldn't be there using egenmore
sieve() and omit().
Thank you!
Ada
On Mon, Nov 16, 2009 at 11:17 AM, Nick Cox <[email protected]> wrote:
> Thanks to Sergiy for the mention.
>
> -charlist- is downloadable from SSC.
>
> In addition, check out the -egen- function -sieve()- within -egenmore- on SSC.
>
> Nick
> [email protected]
>
> 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/
>
--
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/