hwg-languages archives | Jul 2000 | new search | results | previous | next |
Stripping http:// from a string variableby "Jan Morell" <janman(at)n-jcenter.com> |
|
I have a string variable which contains a URL including the "http://". I want to strip the "http://" from the variable. This is in a Perl script. Example: Change "http://my.com" to "my.com" I have tried this with no success. $URL =~ s/(^http:\/\/)//; Jan
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA