gdjoshua wrote:
New to C##.. All I want to do is add spaces to a string I'm
displaying in label? Anybody know the easiest way to do this.
char(32) doesn't seem to be working...
..NET strings are immutable - you can't change them. What you can do is
create a new string that is based on an existing string.
Something along the lines of:
string str = "abcd";
str = str.Insert(2," ");
// str is now "ab cd"
Is that what you were looking for? If not, please post a bit of code that
shows what you're trying and someone will be able to help you.
-cd