正则表达式
来源:互联网 发布:企业即时沟通软件 编辑:程序博客网 时间:2024/05/17 02:30
public class TestStr {
public static void main(String[] args) {
String str="|DF|A";
String[] strs=str.split("|");
System.out.println(strs.length);
}
public static void main(String[] args) {
String str="|DF|A";
String[] strs=str.split("|");
System.out.println(strs.length);
}
}
问打印结果 。。。
- 【正则表达式】正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 正则表达式
- 360周鸿祎:从红色警戒到红衣法师
- OPenGL2011-10-30第二个程序
- 不刷新整个页面实现后退功能
- JSP入门课堂总结 20111028
- thinking in java 第五章
- 正则表达式
- 程序员必读书籍
- Math与StrictMath的区别
- ARM嵌入式从开始到入门的心得体会
- 开发人员选择linux
- 学习日期操作类
- 常用正则表达式
- mysql中不能创建函数的处理方法
- 在 Ubuntu 11.04 Natty 中解除系统托盘限制