Deleting Spaces From String!
I get an error for string.replace!
Basically I want to replace the spaces in the old string with nothing.
So it would end up like "12312312123"
Code:
string old = "123 12312 123"
string new = old.replace(L" ", string.empty());
this belongs to C# section and its:
string newStr = old.Trim();
Plus String.Empty is a field not a method.