remove empty space before fisrt word c# code example
Example: c# remove spaces from string
string str = "This is a test";
str = str.Replace(" ", String.Empty);
// Output: Thisisatest
string str = "This is a test";
str = str.Replace(" ", String.Empty);
// Output: Thisisatest