I have a file with data like this:
ЧУ ЧУ Тренировка 24.05.2011 12:56:40 2 5 5 5 5 2 5 5 5 5 5 5 ЧУ ЧУ Тренировка 24.05.2011 21:41:27 2 2 5 2 2 5 2 2 2 5 2
I need a function that will search for the last program launch, i.e. determine which string of the type ChU ChU Training on 05/24/2011 12:56:40 older, analyze the numbers that follow, i.e. 2 and 5, and if the number 2 occurs more than twice, then ... I’ll think of something there, but for now just display showmessage ('Your rating is 2'); Accordingly, if all 5, or one two two, is permissible, then showmessage ('Your rating is 5'); How to implement it:?