> 英语 >
C#中把一句英文句子:my name is a 变成:a is name my
人气:153 ℃ 时间:2020-02-04 10:56:01
解答
string str = "my name is a";
string[] strs = str.Split(' ');
string newStr = strs[3];
for (int i = 0; i < strs.Length - 1; i++)
{
newStr = newStr + " " + strs[i];
}
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版