C# Класс LibiadaWeb.Helpers.StringExtensions

Class containing extension methods for string class.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetLargestRepeatingSubstring() публичный статический Метод

Gets largest repeating substring or whole string if there is no repeating substrings.
public static GetLargestRepeatingSubstring ( this source ) : string
source this /// The source string. ///
Результат string

TrimEnd() публичный статический Метод

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. ///
Результат string