Skip to main content
Version: 3.0.10 (latest)

Humanizer.EnglishArticle

EnglishArticle Class

Contains methods for removing, appending and prepending article prefixes for sorting strings ignoring the article.

public static class EnglishArticle

Inheritance System.Object → EnglishArticle

Methods

EnglishArticle.AppendArticlePrefix(string[]) Method

Removes the prefixed article and appends it to the same string.

public static string[] AppendArticlePrefix(string[] items);

Parameters

items System.String[]

The input array of strings

Returns

System.String[]
Sorted string array

EnglishArticle.PrependArticleSuffix(string[]) Method

Removes the previously appended article and prepends it to the same string.

public static string[] PrependArticleSuffix(string[] appended);

Parameters

appended System.String[]

Sorted string array

Returns

System.String[]
String array