I have a replace function which matches a string or single word with the defined input values and outputs a specified word against it.
The way I have designed the fun