//把”江南 style”中空格去掉
string
strA =
" 江南 style "
;
labResult.Text = strA.Replace (
" "
,
""
);
//将空格替换为空字符串
labResult.Text = strA.Trim();
//去掉字符串的最左端和最右端的空格
by: 发表于:2018-02-02 09:53:45 顶(0) | 踩(0) 回复
??
by: 发表于:2018-02-02 09:53:45 顶(0) | 踩(0) 回复
??
回复评论