C
charles ling
This may seem incredibly simple to the experienced -
I need to be able to Partial field (or substring) a
variable within a simple dos batch file.
eg
set %var=12345678
I want to extract say the 5th and 6th digits and assign to
another variable. I can't seem to find a standard cmd to
perform this simple task (am I just stupid??)
any suggestions would be gratefully received
I need to be able to Partial field (or substring) a
variable within a simple dos batch file.
eg
set %var=12345678
I want to extract say the 5th and 6th digits and assign to
another variable. I can't seem to find a standard cmd to
perform this simple task (am I just stupid??)
any suggestions would be gratefully received