Allow sorting with articles (option)

New: Option to sort with articles (a, the, an) included
This commit is contained in:
Mark McDowall 2012-12-20 21:36:48 -08:00
commit 2439b9e087
12 changed files with 63 additions and 21 deletions

View file

@ -5,9 +5,9 @@ using System.Text;
namespace NzbDrone.Core.Helpers
{
public class SortHelper
public static class SortHelper
{
public static string SkipArticles(string input)
public static string IgnoreArticles(this string input)
{
if (String.IsNullOrEmpty(input))
return String.Empty;