mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 20:47:24 +00:00
refactor: Tidying
This commit is contained in:
parent
fc234af43a
commit
7c29fb72d9
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ namespace ICD.Common.Utils
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static string RemoveWhitespace(string text)
|
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>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue