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

st: combining string vars


From   "Erica Seiguer" <erica_seiguer@student.hms.harvard.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: combining string vars
Date   Thu, 3 Jul 2003 11:57:08 -0400

if i have two string variables, is it possible to combine them? ie, the
first var is two digits referring to a state (i.e. 44) and the second var is
4 digits referring to facility number (i.e. 0010). I want a var to look like
440010.

thanks!

erica

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