01 2011 档案

摘要:@echo off set str=123456789 echo 第一个字符为:%str:~0,1% echo 头两个字符为:%str:~0,2% echo 头5个字符为:%str:~0,5% echo 去掉最后一个字符后的字符串为:%str:~0,-1% echo 去掉最后3个字符后的字符串为:% 阅读全文
posted @ 2011-01-27 11:44 hongweigg 阅读(16) 评论(0) 推荐(0)