[Java]求一个字符串中冒号的个数

int count = key.length() - key.replaceAll(":", "").length();.net

相关文章
相关标签/搜索