analizators/U2U1111

This commit is contained in:
Anton Suhorukov 2022-01-14 16:44:02 +03:00
parent b9884e6b81
commit 516cd2fd80

View File

@ -107,12 +107,12 @@ namespace ASC.Web.Core.Sms
var sb = new StringBuilder();
sb.Append('+');
sb.Append(mobilePhone.Substring(0, startLen));
sb.Append(mobilePhone, 0, startLen);
for (var i = startLen; i < mobilePhone.Length - endLen; i++)
{
sb.Append('*');
}
sb.Append(mobilePhone.Substring(mobilePhone.Length - endLen));
sb.Append(mobilePhone, mobilePhone.Length - endLen, mobilePhone.Length - (endLen +1));
return sb.ToString();
}
}