C++如何将字符串转换成utf
1个回答
展开全部
String s = "<string name="x">hello</string>";
string str = s.subString(17,21);
console.write(s);
或者是
string s = "<string name="x">hello</string>";
string[] aa = s.Split('>');
String wd = aa[1];
String a = wd.subString(0,4);
consoole.write(a);
string str = s.subString(17,21);
console.write(s);
或者是
string s = "<string name="x">hello</string>";
string[] aa = s.Split('>');
String wd = aa[1];
String a = wd.subString(0,4);
consoole.write(a);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询