how to add a substring to a string in batch code example
Example: batch substring
REM # | EXAMPLE
set "StringA=Some random string this is"
echo %StringA:~5,6%
REM # | SYNTAX
REM # | %<variable-name>:~<substring-start-index>,<substring-length>%
REM # | EXAMPLE
set "StringA=Some random string this is"
echo %StringA:~5,6%
REM # | SYNTAX
REM # | %<variable-name>:~<substring-start-index>,<substring-length>%