string a ="1243345678";

string b ="3";

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

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