I’m looking to split a string at the first ':', to prevent issues if the second part of the string contains a ':'. I’ve been looking at Regexes, but am still having some issues, can somebody give me a hand?
Thanks.
I’m looking to split a string at the first ‘:’ , to prevent issues
Share
You can use the overload of split that takes a limit parameter: