Well, for a start you need to pass the times as a list/array, rather combined together into one string.
Using the example at the top of the post you referred to:
Dim t As Long = FindNextTime(Array As Double(5, 6.5, 20))
you should try using:
Dim t As Long = FindNextTime(Array As Double(strTimes, strTimes2))
as your last line, where the items strTimes and strTimes2 will be automatically cast from Strings to Doubles.