Revert "[ALL] String.Empty"

This reverts commit d1df5c2b60.
This commit is contained in:
Matt Nadareski
2017-01-27 16:53:29 -08:00
parent c8142549bb
commit 8d6fa2c908
38 changed files with 500 additions and 500 deletions

View File

@@ -42,14 +42,14 @@ namespace NaturalSort
string[] x1, y1;
if (!table.TryGetValue(x, out x1))
{
//x1 = Regex.Split(x.Replace(" ", String.Empty), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//x1 = Regex.Split(x.Replace(" ", ""), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(x, x1);
}
if (!table.TryGetValue(y, out y1))
{
//y1 = Regex.Split(y.Replace(" ", String.Empty), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//y1 = Regex.Split(y.Replace(" ", ""), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(y, y1);
}