Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.87 KB

File metadata and controls

52 lines (33 loc) · 1.87 KB

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