//string strText = \"1334677999\";实现无重复
public static string qu(string lab)
{
string strResult = string.Empty;
for (int intIdx = 0; intIdx < lab.Length; intIdx++)
{
if (strResult.IndexOf(lab.Substring(intIdx, 1)) < 0)
{
strResult += lab.Substring(intIdx, 1);
}
}
return strResult;
}
本文地址:https://www.stayed.cn/item/12907
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我