声明一个字符串 并替换字符串中某一字符
1 str = "xxx"; 2 3 str = str.replace("-","")
str.replace ("a",""b) 其中a 是插入字符,b是删掉的字符
posted on 2020-09-06 13:24 zhishiyv 阅读(196) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 zhishiyv Powered by .NET 9.0 on Kubernetes