Searched refs:input_string (Results 1 – 2 of 2) sorted by relevance
1276 def phone_number_formatter(input_string, format=None): argument1294 input_string = input_string.replace(" ", "").replace("-", "").replace(".",1297 return input_string1299 if (len(input_string) == PHONE_NUMBER_STRING_FORMAT_11_DIGIT and1300 input_string[0] == "1"):1301 input_string = input_string[1:]1302 elif (len(input_string) == PHONE_NUMBER_STRING_FORMAT_12_DIGIT and1303 input_string[0:2] == "+1"):1304 input_string = input_string[2:]1305 elif (len(input_string) == PHONE_NUMBER_STRING_FORMAT_7_DIGIT and[all …]
58 def connection_type_from_type_string(input_string): argument59 if input_string in _ConnectionTables.connection_type_tbl:60 return _ConnectionTables.connection_type_tbl[input_string]