locked
Remove at "space" of a string? How the best way to remove it???

    Question

  • I get a string

    e.g:

    string s="a b c   d     s  c s g w".

    I want as results:

    e.g:

    string s="a b c d s c s g w".

    How the best way to remove it??? I don't want that (value.Split("     ","")).

    Thursday, April 23, 2015 9:14 AM

Answers