Just before I write my own function just wanted to check if there exists a function like string.split(string input, params int[] indexes) in the .NET library?
This function should split the string on indexes i pass to it.
Edit: I shouldn’t have added the string.join sentence – it was confusing.
You could use the
Stringinstance method Substring.