Dear monks,
i have some large strings with character 'N' within it, the patterns are like;
xxxxxxxNNNNNxxxxxNxxxxNNNNNNNNxxx
xxNxxxNNNNNNNNNxxxxxx
etc...For each string, i want the number of consecutive N's. So for the first string I want the numbers 5, 1 and 8. The second string I want the numbers 1 and 9.
Anyone knows how to do this?
Cheers, Marten
In reply to count consecutive characters by Boetsie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |