No error checking required:
Dim phrase As String = "Testing.BSMain, Text: Start Page".Split(":")(1)
which simply breaks the phrase with a colon and returns the second part.
To use SubString, try the following:
Dim test As String = "Testing.BSMain, Text: Start Page" Dim phrase As String = test.Substring(test.IndexOf(":"c) + 1)
source share