From 7c29fb72d989f4321cf596c423fc6c22c142a28f Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 22 Oct 2018 16:39:53 -0400 Subject: [PATCH] refactor: Tidying --- ICD.Common.Utils/StringUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } ///