11 2016 档案

摘要:字符串截取 1. substring() xString.substring(start,end) substring()是最常用到的字符串截取方法,它可以接收两个参数(参数不能为负值),分别是要截取的开始位置和结束位置,它将返回一个新的字符串,其内容是从start处到end-1处的所有字符。若结束参数(end)省略,则表示从start位置一直截取到最后。 let str = 'www.j... 阅读全文
posted @ 2016-11-30 08:53 jassy 阅读(398) 评论(0) 推荐(1)
摘要:1.创建文件夹 //import java.io.*; File myFolderPath = new File(%%1); try { if (!myFolderPath.exists()) myFolderPath.mkdir(); } catch (IOException e) { Syste 阅读全文
posted @ 2016-11-22 19:54 jassy 阅读(470) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示