摘要:
参数说明: str:要插入逗号的字符串 index:插入的位数 如有需要也可将逗号转为其他字符串,也可作为参数传入 public String insertCommaInStr(String str,int index){ if (index<=0){ return null; } //去除字符串中 阅读全文
摘要:
本地宝-中国省市简称 import java.util.Random; public String randomCity() { String[] citys = {"京", "津", "沪", "渝", "冀", "晋", "辽", "吉", "黑", "苏", "浙", "皖", "川", "闽 阅读全文