C# Class LibiadaWeb.Helpers.StringExtensions

Class containing extension methods for string class.
Afficher le fichier Open project: intervals-mining-lab/libiada-web

Méthodes publiques

Méthode Description
GetLargestRepeatingSubstring ( this source ) : string

Gets largest repeating substring or whole string if there is no repeating substrings.

TrimEnd ( this source, string value ) : string

Trims given substring from the end of current string if any.

Method Details

GetLargestRepeatingSubstring() public static méthode

Gets largest repeating substring or whole string if there is no repeating substrings.
public static GetLargestRepeatingSubstring ( this source ) : string
source this /// The source string. ///
Résultat string

TrimEnd() public static méthode

Trims given substring from the end of current string if any.
public static TrimEnd ( this source, string value ) : string
source this /// Current string. ///
value string /// Substring to be removed. ///
Résultat string