value.substring(0, 4)
返回的是value的0,1,2,3组成的字符串
substring的用法,布布扣,bubuko.com
substring的用法
原文:http://www.cnblogs.com/xingyyy/p/3719178.html