Searched refs:input_string (Results 1 – 3 of 3) sorted by relevance
119 def _InputIsEmpty(input_string): argument131 if input_string is None:133 if input_string == "":
2329 def phone_number_formatter(input_string, formatter=None): argument2345 if not input_string:2349 input_string = input_string.replace(" ", "").replace("-", "").replace(2352 return input_string2354 if (len(input_string) == PHONE_NUMBER_STRING_FORMAT_11_DIGIT2355 and input_string[0] == "1"):2356 input_string = input_string[1:]2357 elif (len(input_string) == PHONE_NUMBER_STRING_FORMAT_12_DIGIT2358 and input_string[0:2] == "+1"):2359 input_string = input_string[2:][all …]
71 def connection_type_from_type_string(input_string): argument72 if input_string in _ConnectionTables.connection_type_tbl:73 return _ConnectionTables.connection_type_tbl[input_string]