摘要:
1 public class Test { 2 public static void main(String[] args) { 3 String str="135axy"; 4 String regEx="[0-9]{1,3}[a-z]{2,3}"; 5 boolean m=str.matches 阅读全文
摘要:
1 String date="${__javaScript((new Date()).getFullYear()+'-'+((new Date()).getMonth()+1)+'-'+(new Date()).getDate(),)}"; 2 log.info("获取当前日期:"+date); 3 阅读全文
摘要:
如题 阅读全文
摘要:
1 @echo off 2 set sum=0 3 call :sub sum 1 2 3 4 4 echo sum=%sum% 5 pause 6 7 :sub 8 set /a %1=%1+%2 9 shift /2 10 if not "%2"=="" goto sub 11 goto :eo 阅读全文
摘要:
echo. 阅读全文
摘要:
1 @echo off 2 set /p str=请输入任意长度字符串: 3 if not defined str goto :eof 4 echo 您输入了:%str% 5 set num=0 6 :label 7 set /a num+=1 8 set str=%str:~0,-1% 9 if 阅读全文