Hello,
I have attached a EXAMPLE 1 file.
In this file, each line has :
- a serie of 10 various numbers
- 10 x the word "GREEN"
- 1 x the word "YELLOW"
I would like to know how many consecutive GREEN are in each line, and if the YELLOW is consecutive to a GREEN.
For example :
in line 1, I have 1 serie of 3 consecutive GREEN, 2 series of 2 consecutive GREEN, 1 YELLOW is consecutive to a GREEN.
in line 2, I have 1 serie of 4 consecutive GREEN.
Thanks for your help.
Askalian
Bookmarks