Provides utility methods for string manipulations.
Converts the first character of the input string to uppercase.
input(string): The input string.
string: A new string with the first letter in uppercase.
Converts the first character of each string in the input list to uppercase.
input(IList): The input list of strings.
IList<string>: A list of strings with the first letter in uppercase.
Converts the first character of each word in the input string to uppercase.
input(string): The input string.SymbolsAsWordSeparators(bool, optional): Specifies whether symbols should be considered as word separators. Default isfalse.
string: A new string with the first letter of each word in uppercase.
Converts the first character of each word in each string in the input list to uppercase.
input(IList): The input list of strings.SymbolsAsWordSeparators(bool, optional): Specifies whether symbols should be considered as word separators. Default isfalse.
IList<string>: A list of strings with the first letter of each word in uppercase.
The UtilityString class provides convenient methods for capitalizing the first letter of a string or the first letter of each word in a string or a list of strings. These methods are useful for formatting and displaying text in a more visually appealing way.