Dim sampel_string As String = "from the first space"Dim string1 As String = sampel_string.SubString2(0,sampel_string.IndexOf(" ")) ' from char pos 0 upto the spaceDim string2 As String = sampel_string.SubString(sampel_string.IndexOf(" ")+1) ' from the space+1 to end of string
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.