I know this is going to be an easy answer but I am new to C#. There is a lot of answers on for different types of splits, but I cannot find one for this problem. I am trying to split a string into two by alternating characters.
The example would be: string example = "stackoverflow" and the output would be "sakvrlo" and "tcoefo".
If it is an odd number of characters it does not matter if the two new strings are of different lengths.
Thanks!
1 Answer