Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: Formatting a string variable (UK postcodes) to always be seven characters in length
From
<[email protected]>
To
<[email protected]>
Subject
RE: st: Formatting a string variable (UK postcodes) to always be seven characters in length
Date
Wed, 5 Feb 2014 17:14:52 -0000
Hi all
Thanks very much for your responses. I went with the advice from Nick and
Paul and generated a new postcode variable with blanks omitted and joined
basedon these. Sergiy's code was above my level of stata knowledge and not
sure I quite understand how it works but it's impressive!
Many thanks again
Catherine
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/