xuhuoren 当前离线
列兵
@echo off set nick=今日明月在 echo %nick:~0,2% echo %nick:~2,2% echo %nick:~-1% echo. for %%i in (%nick:~0,2%,%nick:~2,2%,%nick:~-1%) do ( echo %%i ) pause>nul复制代码
TOP
BAT-VBS 当前离线
少将
@echo off set nick=今日明月在 echo %nick:~0,2% echo %nick:~2,2% echo %nick:~-1% echo %nick:~2,2%%nick:~0,2%%nick:~-1% pause>nul复制代码
@echo off set var=今日明月在 echo %var:~0,2% & echo %var:~2,2% & echo %var:~-1% echo %var:~2,2%%var:~0,2%%var:~-1% pause复制代码
Enterpaise 当前离线
@echo off set var=今日明月在 echo %var:~2,2%%var:~0,2%%var:~-1% pause复制代码
Clarkky 当前离线
@echo off set a=今日明月在 echo %a:~2,2%%a:~0,2%%a:~4,1% pause复制代码
xx2131232 当前离线
hankfernandez 当前离线
@echo off set a="今日明月在" set b=%a:~1,2% echo %b% set b=%a:~3,2% echo %b% set b=%a:~5,1% echo %b% pause复制代码
annali74 当前离线
skynjupt 当前离线
@echo off chcp 936>nul set "str=今日明月在" :: 00 请分别截取“今日”、“明月”、“在”,并显示出来 set "str01=%str:~,2%" set "str02=%str:~2,2%" set "str03=%str:~-1,1%" echo %str01% echo %str02% echo %str03% :: 01 通过变量截取把 “今日明月在” 变成 “明月今日在” 显示出来 set /p=%str02%%str01%%str03%<nul echo. pause复制代码
2846090741 当前离线
@set a=今日明月在 @echo %a:~2,2%%a:~0,2%%a:~4,1% @pause >nul复制代码
暗修罗 当前离线
keyboard 当前离线
@echo off set str=今日明月在 set var=%str:~0,2% %str:~2,2% %str:~4,1% for %%i in (%var%) do echo %%i pause 复制代码
@echo off set str=今日明月在 set var=%str:~2,2% %str:~0,2% %str:~4,1% for %%i in (%var%) do echo %%i pause 复制代码
Jay罗小尼 当前离线
@echo off set str=JRMYZ echo %str:~0,2% set str=JRMYZ echo %str:~2,2% set str=JRMYZ echo %str:~4,1% pause复制代码
battab 当前离线
一级士官
@echo off set str=今日明月在 set v=%str:~0,2% set a=%str:~2,2% set r=%str:~4,1% echo %v% %a% %r% echo %a%%v%%r% pause 复制代码