@echo %str:,=^&%
Replace substring with ampersand
-
01-07-2022 - |
سؤال
I can, according to example replace ,
with m
,
@set str=abc,xyz
@echo %str:,=m%
However, I cannot replace it with ampersand,
@set str=abc,xyz
@echo %str:,=&%
المحلول
لا تنتمي إلى StackOverflow