I have a batch file that helps me with string manipulation. It works as a plugin/function. The problem is, I don't know how do I use variables in string manipulation.
Here is the code that i have problem with:
set result=%_unstring:%_charstoreplace%=%_replacementchars%
The variables _unstring
, _charstoreplace
and _replacementchars
are all parameters.
How do I use variables while manipulating %_unstring%
?