in reply to Extracting filename from a path string
If you escape a character with \ in a double-quoted string it'll have a different meaning.$path = "\path1\path2\path3\file.ext"; # change " to ' and # you'll be fine $path = '\path1\path2\path3\file.ext';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting filename from a path string
by Snaps_Provolone (Novice) on Apr 20, 2002 at 14:29 UTC |