pub fn process_input( input: String, default_value: Option<&str>, trim_whitespace: bool, ) -> String
Process input string based on options This is a pure function that can be tested independently