Re: how to do this with RE?



Charles DeRykus schreef:
Arthur:

What I want is to replace the leading spaces with  

$foo = " Willy";
$foo =~ s/\G\s/ /g;

Nice example of \G usage.

--
Affijn, Ruud

"Gewoon is een tijger."
.



Relevant Pages