protected string RemoveWhiteSpace(string str) { if (str.Length > 0) { while (str.IndexOf(" ") > 0) { str = Regex.Replace(str, " ", ""); } } str = str.Trim(); return str; }
Post a Comment
No comments:
Post a Comment