Wednesday 17 May 2017

how to check the sequence of the data in an array read from a file data in js

I have a file with usfm data and out of it, I made this array like this with only the markers of each line

['id','c','p','v','p','v','v','v','p','v','v','v','v','p','v','v','v','v','p','v','v','v','c','p','v','p','v','v','v' ]

Now the question is how will I check the sequence for every occurrence of 'c'. Before the first 'v' after every 'c' there must exist a 'p'.

USFM_file_link



via zachi

No comments:

Post a Comment