in reply to Re^3: How can I count characters between two same substrings in a string where the substring is repeated more than 5 times?
in thread How can I count characters between two same substrings in a string where the substring is repeated more than 5 times?
To avoid complexity, one must know in advance that the delimiter follows something else at the start of the string (or is followed by something at the end)... in which case, counting with a pencil, paper and strike-thrus may be just as effective...
or
If the topology of the string is unknown, then you must deal with the permutations...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How can I count characters between two same substrings in a string where the substring is repeated more than 5 times?
by tobyink (Canon) on Dec 11, 2011 at 00:27 UTC | |
by ww (Archbishop) on Dec 11, 2011 at 00:51 UTC |