J johnnyj2j Member Joined Mar 4, 2013 Messages 13 Programming Experience 1-3 Jun 16, 2013 #1 I have this string VB.NET: 91.202.165.65:8080 and I want to take everything before the VB.NET: : and the string will always change the only thing that stays the same is : Ideas? Thanks in advance
I have this string VB.NET: 91.202.165.65:8080 and I want to take everything before the VB.NET: : and the string will always change the only thing that stays the same is : Ideas? Thanks in advance
jmcilhinney VB.NET Forum Moderator Staff member Joined Aug 17, 2004 Messages 15,131 Location Sydney, Australia Programming Experience 10+ Jun 16, 2013 #2 You can call String.Split and specify the ":" to split on. That will return a String array and the first element will be everything before the ":". Upvote 0 Downvote
You can call String.Split and specify the ":" to split on. That will return a String array and the first element will be everything before the ":".