13,347
社区成员




string pm = "156****3871";
int idx = 0;
while (idx >= 0)
{
idx = pm.IndexOf("*");
if (idx < 0) break;
pm=pm.Remove(idx, 1);
pm=pm.Insert(idx, idx.GetHashCode().ToString());
}
"15921633659".Substring(0,3)+"****"+"15921633659".Substring(7,4)
类似这样一段代码,就成了.