diff --git a/PeyrSharp.Extensions/StringExtensions.cs b/PeyrSharp.Extensions/StringExtensions.cs index ddf5013..14fbbf8 100644 --- a/PeyrSharp.Extensions/StringExtensions.cs +++ b/PeyrSharp.Extensions/StringExtensions.cs @@ -184,6 +184,13 @@ public static string DecryptAes(this string encrypted, string key) /// The input string with the first letter uppercased. public static string ToUpperAt(this string s) => string.IsNullOrEmpty(s) ? s : char.ToUpper(s[0]) + s[1..]; + /// + /// Uppercases the first letter of a string. + /// + /// The string to capitalize. + /// The input string with the first letter uppercased. + public static string ToLowerAt(this string s) => string.IsNullOrEmpty(s) ? s : char.ToLower(s[0]) + s[1..]; + /// /// Reverses a . ///