I am using
StingBuilder.append("Address : {0}, {1}, {2} {3} \n",
Street1,
Street2,
PostalCode,
City);
Problem is if Street1 or street2 is null String builder returns
, ,code,city.
I want to remove those commas(,) as well. how can i do that?
Thank you in advance.