+ 1
How to extract a letter from a word using strings in c#
input=hello world output is h e l l o w o r l d
5 Answers
+ 3
@Luka I think Replace() function takes characters as parameters. So it should be :
s = s.Replace(' ', '');
Edit : Sry, Didn't know. I always used characters. Thanks BTW.
+ 1
Luka.. it is not an error bt exception that string cannot be of zero length... System.ArgumentException near replace
+ 1
yeah I got it... thanks yaat
0
not getting executed
0
can u plz tell me how to remove those repeated letters after writing it letter by letter