首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

小弟问个超菜的有关问题

2011-12-12 
小弟问个超菜的问题在线等stringa,bathesdgadf //我们不知道 thesdgadf 怎么才能让b thesdgad [

小弟问个超菜的问题 在线等
string   a,b;
a=   "the   sdgadf ";//我们不知道 "the   sdgadf "
怎么才能让
b= "the   sdgad "

[解决办法]
不知道楼主到底要什么样的效果。
string a, b;
a = "the sdgadf ";//我们不知道 "the sdgadf "
b = a.Substring(0, a.Length - 1);
[解决办法]
有Substring()

热点排行