get_string() and get_number()

Modified to copy the format of get_word()