C# 클래스 LibiadaWeb.Helpers.StringExtensions

Class containing extension methods for string class.
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-web

공개 메소드들

메소드 설명
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