Introduce ability to cast result to lowercase, and control output if string is reduced to nothing