diff --git a/ICD.Common.Utils/StringUtils.cs b/ICD.Common.Utils/StringUtils.cs index a0c4ab0..fa323c4 100644 --- a/ICD.Common.Utils/StringUtils.cs +++ b/ICD.Common.Utils/StringUtils.cs @@ -571,7 +571,7 @@ namespace ICD.Common.Utils /// public static string RemoveWhitespace(string text) { - return text == null ? null : new string(text.Where(c => !Char.IsWhiteSpace(c)).ToArray()); + return text == null ? null : text.RemoveWhitespace(); } ///