in reply to The nth occurrence of a character
my $char = "C"; my $pat = "[^$char]*$char" x $n; my $where; /^($pat)/ and $where = length $1 - 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The nth occurrence of a character
by japhy (Canon) on Feb 08, 2006 at 12:53 UTC | |
by diotalevi (Canon) on Feb 08, 2006 at 14:36 UTC |