摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--packagecom;importjava.util.Date;publicclassStrFun{publicstaticvoidmain(String[]args){Stringsource="1... 阅读全文
posted @ 2010-01-07 20:28 angushine 阅读(263) 评论(0) 推荐(0) 编辑
摘要: [\u0391-\uFFE5]匹配双字节字符(汉字+符号)[\u4e00-\u9fa5]注意只匹配汉字,不匹配双字节字符代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///截取指定长度的字符串(Unicode... 阅读全文
posted @ 2010-01-07 19:38 angushine 阅读(503) 评论(0) 推荐(0) 编辑