I have done this now in Eclipse:
string first input = remove spaces (myIn. Readline ()); String first = new string (first input. Chart (0));
However, Eclipse complains that:
Constructor string (character) is undefined
How do I convert Can one for a string then four ??
Thanks
Edit
I tried the substring method but it does not work for some reason, but works for the method of gandalf Just fine me Very simple!
Easiest way?
string x = 'c' + "";
Or of course
String.valueOf ('c');
No comments:
Post a Comment