penpen wrote:I've played a little bit with multiple percentages/exclamationmarks in one single (delayed) expanded variable.
Thanks for your investigation into the above approach, initially suggesting using an expanded batch or function argument as a SEARCH pattern in REPLACE strings. I'm still grasping all possible practical implications aimed at shorter more efficient input validation and variable match analysis.
Aacini wrote:Well, perhaps not a one-liner, but close
Thanks Antonio! As always, unusual, non-standard, and very efficient. And it works!
I found one issue though in brief testing: the script seems to not distinguish btw Upper & Lower case letters in words, meaning "London" is processed the same as "london". Is it on purpose for making it more tolerant to user input errors? Can it be updated to account for Upper & Lower case?