[ALL] String.Empty

This commit is contained in:
Matt Nadareski
2017-01-27 15:42:07 -08:00
parent 2647f74790
commit d1df5c2b60
39 changed files with 505 additions and 505 deletions

View File

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