string s = "HELLO WORLD!";
string[] s1 = s.Split(' ');
string outchar = s1[0] + s1[1].Substring(0, 1);
More Related Contents:
- How to remove all white space from the beginning or end of a string?
- How to extend C# built-in types, like String?
- Fastest way to remove first char in a String
- C# how to check if a string contains 3 times the same letters in a row [closed]
- Parse string to DateTime in C#
- Most efficient way to concatenate strings?
- Ignoring accented letters in string comparison
- Replace Line Breaks in a String C#
- Convert String to Type in C# [duplicate]
- Determine a string’s encoding in C#
- C# Splitting Strings?
- How do I split a string by a multi-character delimiter in C#?
- Best way to resolve file path too long exception
- C#: Class for decoding Quoted-Printable encoding?
- Escape curly brace ‘{‘ in String.Format [duplicate]
- Why is there no Char.Empty like String.Empty?
- How do I split a string by strings and include the delimiters using .NET?
- “Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions” error
- Write bytes to file
- Pick Random String From Array
- Java equivalent of C#’s verbatim strings with @
- How to create LINQ Query from string?
- How to convert string to integer in C#
- Converting a byte to a binary string in c#
- string.Empty vs null.Which one do you use?
- ReferenceEquals working wrong with strings
- Get values between curly braces c#
- Adding a newline into a string in C#
- Using StreamReader to check if a file contains a string
- How can I create all possible combinations for a set of words without repetition?