mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-10 02:05:20 +00:00
refactor: Tidying
This commit is contained in:
@@ -571,7 +571,7 @@ namespace ICD.Common.Utils
|
||||
/// <returns></returns>
|
||||
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();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user