/// <summary> /// 解析号码 /// </summary> /// <param name="number"></param> /// <returns></returns> private static string DecodeNumber(string number) { StringBuilder sb = new StringBuilder(); StringReader reader = new StringReader(number, 0); string str = reader.NextString(2); if (str == "91") { sb.Append("+"); } while (reader.HasNext()) { char one = reader.NextChar(); char two = reader.NextChar(); sb.Append(two); sb.Append(one); } if (sb[sb.Length - 1] == 'F' || sb[sb.Length - 1] == 'f') { sb.Remove(sb.Length - 1, 1); } return sb.ToString(); }