Hello Forks, Please i want to remove one if there is // in file path prefix.
the problem is the $test could be /user/ then i will have user/ which is not what i want to see happen.$test = "//user/"; $test =~ s/^\///; print $test."\n";
In reply to help with regex by beanscake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |