Search This Blog

Windows Batch Script: replace a character in string

SET str=1,2,3,4

REM replace comma with blank space
SET str=%str:,= %
ECHO %str%


see also

No comments:

Post a Comment