string detail = "12345 6";
if (detail.IndexOf(" ") >= 0)
{
AlertMessage.Show(this, "请不要输入空格");
return;
}
转载于:https://www.cnblogs.com/zttb/p/9210263.html
string detail = "12345 6";
if (detail.IndexOf(" ") >= 0)
{
AlertMessage.Show(this, "请不要输入空格");
return;
}
转载于:https://www.cnblogs.com/zttb/p/9210263.html