C# Tutorial String
Basic
- Assign value to char array in CSharp
- Catch exception in parsing string to Number in CSharp
- Check if a string contains a specified substring at the start and end in CSharp
- Check if a string is Palindrome in CSharp
- Check if a string is a double number in CSharp
- Concatenate more than two strings in CSharp
- Concatenate various values as string in CSharp
- Get number from string with compiled Regular exceptions in CSharp
- Insert string to the middle in CSharp
- Intern a String in CSharp
- Join an array of String value in CSharp
- Output String character by character in CSharp
- Show string in proper case in CSharp
- Test for equality between stings in CSharp
- Use escape sequences in strings in CSharp
- Use regualr expression to check if a string is a number in CSharp
- Use regular expression to check if a string is an Unsigned Integer in CSharp
- Use regular expression to get number from string in CSharp
- Use the Concat() method to concatenate strings in CSharp
- Use the Equals() method and equality operator to check if two strings are equal in CSharp
- Use the Join() method to join strings in CSharp
- Use the Substring() method to retrieve substrings in CSharp
- Use the Trim(), TrimStart(), and TrimEnd() methods to trim strings in CSharp
- Use the addition operator (+) to concatenate strings in CSharp
Compare
- Check the result returned from String.Compare in CSharp
- Compare string created from copy in CSharp
- Compare string read from console in CSharp
- Compare substring and honor case in CSharp
- Compare substring in CSharp
- Compare two string values in CSharp
- Use the Compare() method to compare strings in CSharp
Convert
- Convert a Base64-encoded byte array to string in CSharp
- Convert string to Base 64 byte array in CSharp
- Convert string to upper and lower case in CSharp
Create
- Create a string array in CSharp
- Create a string by copying from another in CSharp
- Create string from char array in CSharp
- Create string with @ and no need to escape in CSharp
- Create verbatim literal strings in CSharp
Parse
- Determine if a String is a Valid Number by Parse functions in CSharp
- Parse String to create numeric values in CSharp
- Parse a string to byte based on Culture Information in CSharp
- Parse string in currency format to int in CSharp
- Parse string in exponential format to int in CSharp
- Parse string in hexidecmial format to integer in CSharp
- Parse string to bool in CSharp
- Parse string to byte in CSharp
- Parse string to char in CSharp
- Parse string to decimal in CSharp
- Parse string to double in CSharp
- Parse string to in CSharp
- Parse string to int based on culture info in CSharp
- Parse string to int in CSharp
- Parse string with Exponential format to byte in CSharp
- Parse string with Parentheses separator to int in CSharp
- Parse string with Parentheses to byte in CSharp
- Parse string with currency symbol to byte in CSharp
- Parse string with decimal point to byte in CSharp
- Parse string with decimal point to int in CSharp
- Parse string with leading sign to byte in CSharp
- Parse string with no format to byte in CSharp
- Parse string with thousand separator to int in CSharp
- Parse string with thoushand separator to byte in CSharp
- Parse string with trailing sign to byte in CSharp
- Try to Parse string in Hexidecimal format to int in CSharp
- Try to parse String to int in CSharp
- Try to parse string in currency format and symbol to double with en-GB culture in CSharp
- Try to parse string in exponential format to Integer in CSharp
- Try to parse string in hexidecimal format to byte in CSharp
- Try to parse string with currency symbol to int in CSharp
- Try to parse string with decimal point to byte in CSharp
- Try to parse string with leading sign to Integer in CSharp
- Try to parse string with leading sign to byte in CSharp
- Try to parse string with no style to Integer in CSharp
- Try to parse string with thousand speparator to int in CSharp
Format
- Format float with Fixed-point format specifier f3 in CSharp
- Use String.Format() method to build a new string in CSharp
- Use string.Format to format integer in CSharp
Substring
Pad
- Pad Strings from the left in CSharp
- Trim and pad with custom characters in CSharp
- Use the PadLeft() and PadRight() methods to align strings in CSharp
Remove
- Remove Characters from a string in CSharp
- Remove any of a set of chars from a given string in CSharp
Replace
- Replace one character from another character in CSharp
- Replace sub string with another string in CSharp
Reverse
Search
- Search any characters from start in CSharp
- Search string from back in CSharp
- Search string from the start in CSharp
Split
- Split a string by , using Regular Expressions in CSharp
- Split a string delimited by another string and return 2 elements in CSharp
- Split a string delimited by another string and return 2 non-empty elements in CSharp
- Split a string delimited by another string and return all elements in CSharp
- Split a string delimited by characters and return 2 elements in CSharp
- Split a string delimited by characters and return 2 non-empty elements in CSharp
- Split a string delimited by characters and return all elements in CSharp
- Split a string delimited by characters and return all non-empty elements in CSharp
- Split string with a list of dividers in CSharp
- Split string with space in CSharp
- Split the original string at the delimiter and return all non-empty elements in CSharp
- Use StringSplitOptions enumeration to include or exclude substrings generated by the Split method in CSharp
- Use the Split() method to split strings in CSharp