save input-string from prompt.