diff --git a/ICD.Common.Utils/StringUtils.cs b/ICD.Common.Utils/StringUtils.cs index 8a27161..325a55e 100644 --- a/ICD.Common.Utils/StringUtils.cs +++ b/ICD.Common.Utils/StringUtils.cs @@ -516,5 +516,17 @@ namespace ICD.Common.Utils return builder.ToString(); } + + /// + /// Shim of value.ToString() + /// Returns null if input value is null. + /// + /// + /// + [PublicAPI, CanBeNull] + public static string Trim(string value) + { + return value == null ? null : value.ToUpper(); + } } }