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>%
Jacques_Kirstein