$str = "... через 1 мин. 11 с."
$count = STRPOS($str, "через")
IF($count > 0)
$str2 = STRFILTER(STRCUT2($str, $count+6, STRLEN($str)), " ", 0)
$count2 = STRPOS($str2, "мин.")
IF($count2 > 0)
$m = STRCUT2($str2, 1, $count2-1)
$str2 = STRCUT2($str2, $count2+4, STRLEN($str2))
$count2 = STRPOS($str2, "с.")
$s = 0
IF($count2 > 0)
$s = STRCUT2($str2, 1, $count2-1)
END_IF
$str = STRCONCAT(STRCUT2($str, 1, $count+5), ($m*60)+$s, " с.")
END_IF
END_IF
LOGWRITE ($str)