摘要: 有一数组;转换为字符串后为 aaa|bbb|ccc|ddd| 现要去掉最后一个| 第一种方法: 语句为:str1=aaa|bbb|ccc|ddd| str=str1.substring(0,lastindecof("|")); respone.write(str); outprint: ======... 阅读全文
posted @ 2009-06-26 20:35 zxlin25 阅读(3023) 评论(0) 推荐(0) 编辑