🌈 搜索
📅  最后修改于: 2022-03-11 14:58:53.197000             🧑  作者: Mango
int count = str.length() - str.replaceAll("\\$","").length();