mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
FirstCharToLower
This commit is contained in:
@@ -22,9 +22,14 @@ namespace NzbDrone.Common.Extensions
|
||||
return "[NULL]";
|
||||
}
|
||||
|
||||
public static string FirstCharToLower(this string input)
|
||||
{
|
||||
return input.First().ToString().ToLower() + input.Substring(1);
|
||||
}
|
||||
|
||||
public static string FirstCharToUpper(this string input)
|
||||
{
|
||||
return input.First().ToString().ToUpper() + string.Join("", input.Skip(1));
|
||||
return input.First().ToString().ToUpper() + input.Substring(1);
|
||||
}
|
||||
|
||||
public static string Inject(this string format, params object[] formattingArgs)
|
||||
|
||||
Reference in New Issue
Block a user