string a ="1243345678";

string b ="3";

int count = a.lenth-a.replace(b,"").length;

posted on 2008-10-15 09:11  pchgo  阅读(248)  评论(0编辑  收藏  举报