Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: removing "first letters"

From   John Novak <>
Subject   Re: st: removing "first letters"
Date   Tue, 25 Apr 2006 13:40:11 -0700

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.


At 01:33 PM 4/25/2006, you wrote:
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?

Express yourself instantly with MSN Messenger! Download today - it's FREE!

* For searches and help try:
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index