I am trying to figure out a way to do text replacement with a variable if possible.
Basically let's say I have a string: The Color is Red
I can say ::color::The Color is Red which will work, but now what if I want to be able to specify the color on demand. So if I typed color blue it would print out The Color is Blue instead.
Is there a way to do that? Or will I have to define all possible variations of my sentence in my script.