Upendra has asked for the wisdom of the Perl Monks concerning the following question:
I have a string like below "Path=S:\2014 March\Test Scenarios\load\2014 March" that contains "\" that slash is an issue.
I am using a simple search and replace line of code$nExit = s/$sMatchPattern/$sFullReplacementString/;
any thoughtsThanks in Advance Upendra
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search and Replace
by rjt (Curate) on Apr 25, 2014 at 18:28 UTC | |
|
Re: Search and Replace
by AnomalousMonk (Archbishop) on Apr 25, 2014 at 18:25 UTC | |
|
Re: Search and Replace
by Laurent_R (Canon) on Apr 25, 2014 at 17:53 UTC |