去掉( 和空格)
#region 去掉空格
/// <summary>
/// 去掉空格
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
private string testkg(string str)
{
str = System.Text.RegularExpressions.Regex.Replace(str, @" ", "", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
return System.Text.RegularExpressions.Regex.Replace(str, "([ ]+)", "");
}
#endregion