{smcl} {* 21feb2002}{...} {hline} help for {hi:addstub} {hline} {title:Add prefix to variable names} {p 8 14}{cmd:addstub} [{it:varlist}] {cmd:,} {cmd:stub(}{it:stub}{cmd:)} {title:Description} {p}{cmd:addstub} will add a prefix, or {it:stub} to the name of all variables in your dataset if {it:varlist} is not specified. If {it:varlist} is specified, {it:stub} will only be added to the variable names in {it:varlist}. {title:Options} {p 0 4}{cmd:stub(}{it:stub}{cmd:)} is not optional. It specifies the prefix that is to be added to each variable in {it:varlist}. {title:Author} {p 8}Shannon Driver, Stata Corporation{p_end} {p 8}srd@stata.com{p_end} {title:Examples} {p 8 12}{inp:. addstub , stub(XX)} {p 8 12}{inp:. addstub price weight mpg, stub(XX)} {title:Also see} {p 0 19}On-line: help for {help rename}, {help renpfix}{p_end}