VB.net Stop String at Character

Stop String at Character
Dim timeStr = stringArr(arrIndex).IndexOf(" ")