in reply to How to get Incremental charecter groups in a string
This approaches it from a slightly different angle, and removes the false positive 'abbc' results that you get from the $_ eq join sort split method...$_ = "this abc xyz abbc donut ghijkl"; "abcdefghijklmnopqrstuvwxyz" =~ $_ and print for split;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get Incremental charecter groups in a string
by GrandFather (Saint) on Jun 19, 2006 at 20:58 UTC | |
by Jasper (Chaplain) on Jun 20, 2006 at 09:03 UTC | |
by GrandFather (Saint) on Jun 20, 2006 at 09:52 UTC | |
|
Re^2: How to get Incremental charecter groups in a string
by ikegami (Patriarch) on Jun 20, 2006 at 15:54 UTC |