in reply to character location question
... does almost what you want :)my $s = "hello world, kill bill" ; print pos $s, " " while $s =~ /ll/g
Hope this helps,
zlr
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: character location question
by EchoAngel (Pilgrim) on Mar 11, 2005 at 16:32 UTC |