字符串提取子字符的问题 String k1 = "中过$D+8$离开$D+9$离开".substing(5,9) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 通过循环你的字符串length,查找,编排你要的格式不就好了啊 java code class demo{ public static void main(String []args) { String a = "1111-22-33 13:15:46",b=new String(); int i,j,t; for(i=0;i<a.length();i++) if(a.charAt(i)!='-' && a.charAt(i)!=':' && a.charAt(i)!=' ') b=b+a.charAt(i); System.out.println(b); } } 求一款 java写的开源的电子商系统 技术用SSH 判断checkboxlist最多只能选择s个的代码,希望能实现ie和firefox都能兼容: mysql 一个字段中插入内容分别用逗号分开 谢谢 整合struts1系统与strut2系统 Struts连接数据源问题 请高手帮忙看是一下是不是内存问题.. 怎么用JAVA写系统托盘中的程序? jboss 中使用 servlet应该如何配置啊?? Thinking in java 第二版和第三版有什么区别么? 求教javamail的问题 本地图片转换 疯了!struts2.0那个版本比较稳定啊?客户端校验问题。
class demo
{
public static void main(String []args)
{
String a = "1111-22-33 13:15:46",b=new String();
int i,j,t;
for(i=0;i<a.length();i++)
if(a.charAt(i)!='-' && a.charAt(i)!=':' && a.charAt(i)!=' ')
b=b+a.charAt(i);
System.out.println(b);
}
}