Thread Ersetzen von "\" durch "$\backslash$
(10 answers)
Opened by Gast at 2005-11-29 10:41
[quote=Relais,29.11.2005, 09:53]so geht's
Code: (dl
)
$string =~ s/\\/$\\backslash$/g; wow, was für eine perl-version hast du denn? Code: (dl
)
1 perl -wle '$_ = "... \\ ..."; edit: typo\n\n <!--EDIT|pq|1133263448--> Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |