首页 > 系统 > Android > 正文

Android 字符串分割split()

2019-11-08 00:02:33
字体:
来源:转载
供稿:网友

String[] all=beans.getEducationCertificate().split(“;”);

但是要注意的是,如果使用”.”、”|”、”^”等字符做分隔符时,要写成s3.split(“/^”)的格式, 否则不能拆分。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表