Bill

It looks ugly, I know, but it works.......

$myvariable =~ s/\\rmcnt\\public/\\\\\\\\rmcnt\\\\public
<\\\\\\\\rmcnt\\\\public> /;

Add the g option if there are multiple instances of the string to change in
the variable

Andy

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 3:22 PM
Subject: Scan help


> I have a variable that contains "\rmcnt\public", I want to change it to
> "\\\\rmcnt\\public <\\\\rmcnt\\public>  "
>
> Bill Bryan
> EDM International
> 915-225-2526 Voice
> 915-225-2600 Fax
> e-mail [EMAIL PROTECTED]
> e-mail [EMAIL PROTECTED] (home)
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>
>


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to