Common String Operations
suggest changePadding a string to a fixed length
Checking for an empty string using String.IsNullOrEmpty and String.IsNullOrWhiteSpace
Getting x characters from the right side of a string
Convert a decimal number to binary, octal, and hexadecimal
Trimming Unwanted Characters Off the Start and/or End of Strings
Splitting a String by specific character
Joining an array of strings into a new one
Getting a char at specific index and enumerating the string
Determine whether a string begins with a given sequence
Splitting a String by another string
Getting Substrings of a given string
Replacing a string within a string
Changing the case of characters within a String
Concatenate an array of strings into a single string
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents