I'd say that this should work:
replace webadd = substr(webadd, 5, . )
If you want to play it safe, just generate a new variable instead of replacing.
John
At 01:33 PM 4/25/2006, you wrote:
Hi,
I have a variable with web addresses and all the entries in this
variable start with "www.". Is there an easy way of removing the
"www." from the beginning of all entries?
Thanks!
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
*
* 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/
*
* 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/