Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: help on filefilter


From   "MITRA PINAKI (MAR1PXM)" <mar1pxm@ups.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: help on filefilter
Date   Mon, 16 May 2005 10:28:25 -0400

Hello,

    I have text files that contain characters which I don't want to keep
and want those to be replaced by blank spaces. For example, when I do
filefilter "originalfile.txt" "formatted.txt", from(\Q) to(" ") replace,
it replaces double quotes by blank spaces and that's what I need.

Now, if I would only like to keep characters between A to Z and 0 to 9
and replace all other characters by blank spaces, how can I do this?


Thank you.

Sincerely,
Pinaki Mitra


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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