限制输入的汉字小于50个字

string str=“xxxxx”;

if(str.count()>50){



}

 

posted @ 2022-11-29 11:43  程序杨%  阅读(51)  评论(0)    收藏  举报