Searched refs:input_string (Results 1 – 3 of 3) sorted by relevance
123 def _InputIsEmpty(input_string): argument135 if input_string is None:137 if input_string == "":
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]
2956 def phone_number_formatter(input_string, formatter=None): argument2972 if not input_string:2976 input_string = input_string.replace(" ", "").replace("-", "").replace(2979 return input_string2981 if (len(input_string) == 13 and input_string[0:3] == "+81"):2982 input_string = "0" + input_string[3:]2983 return input_string2985 if (len(input_string) == PHONE_NUMBER_STRING_FORMAT_11_DIGIT2986 and input_string[0] == "1"):2987 input_string = input_string[1:][all …]