how do you remove the space
**Got the immutable part, always miss that, Thanks all**
Hi All,

    String test = "John, Jane";

    test.Replace(" ","");

    String[] toList = test.Split(',', ' ', ';');

How would you remove just the space in the string or any space that shows up potentially?

Why is there 3 items in array and not 2?



how do you remove the space
===

**Got the immutable part, always miss that, Thanks all**
Hi All,

    String test = "John, Jane";

    test.Replace(" ","");

    String[] toList = test.Split(',', ' ', ';');

How would you remove just the space in the string or any space that shows up potentially?

Why is there 3 items in array and not 2?


