如何在 space C# 的 1 个字母后 trim?

How to trim after 1 letter from space C#?

您好,我正在尝试从字符串中取出第一个单词和第二个单词中的第一个单词,并且没有空格 space 但我没有成功。我该怎么做?

示例: 我有话:HELLO WORLD!我想得到:你好 或者:LAPTOP COVER 并获得 LAPTOPC

第一个单词没有字母限制。谢谢大家!

 string s = "HELLO WORLD!";
 string[] s1 = s.Split(' ');
 string outchar = s1[0] + s1[1].Substring(0, 1);