Searched refs:input_string (Results 1 – 3 of 3) sorted by relevance
3547 def phone_number_formatter(input_string, formatter=None): argument3563 if not input_string:3567 input_string = input_string.replace(" ", "").replace("-", "").replace(3570 return input_string3572 if (len(input_string) == 13 and input_string[0:3] == "+81"):3573 input_string = "0" + input_string[3:]3574 return input_string3576 if (len(input_string) == PHONE_NUMBER_STRING_FORMAT_11_DIGIT3577 and input_string[0] == "1"):3578 input_string = input_string[1:][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]
123 def _InputIsEmpty(input_string): argument135 if input_string is None:137 if input_string == "":