Created
April 22, 2019 00:06
-
-
Save geunho/390be22c9c925578fb8dd62a2febd5d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM test A - 001 | |
REM test B - 002 | |
REM get rid of last 6 characters | |
SET title_a=test A - 001 | |
SET title_b=test B - 002 | |
SET first=%title_a:~0,-6% | |
SET second=%title_b:~0,-6% | |
echo %first% | |
REM test A | |
echo %second% | |
REM test B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment