C# 클래스 SevenDigital.Messaging.Integration.Tests._Helpers.StringHelpers

파일 보기 프로젝트 열기: i-e-b/SevenDigital.Messaging

공개 메소드들

메소드 설명
SubstringAfter ( this src, char c ) : string

Return the substring after to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.

SubstringAfterLast ( this src, char c ) : string

Return the substring after to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.

SubstringBefore ( this src, char c ) : string

Return the substring up to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.

SubstringBeforeLast ( this src, char c ) : string

Return the substring up to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.

메소드 상세

SubstringAfter() 공개 정적인 메소드

Return the substring after to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.
public static SubstringAfter ( this src, char c ) : string
src this
c char
리턴 string

SubstringAfterLast() 공개 정적인 메소드

Return the substring after to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.
public static SubstringAfterLast ( this src, char c ) : string
src this
c char
리턴 string

SubstringBefore() 공개 정적인 메소드

Return the substring up to but not including the first instance of 'c'. If 'c' is not found, the entire string is returned.
public static SubstringBefore ( this src, char c ) : string
src this
c char
리턴 string

SubstringBeforeLast() 공개 정적인 메소드

Return the substring up to but not including the last instance of 'c'. If 'c' is not found, the entire string is returned.
public static SubstringBeforeLast ( this src, char c ) : string
src this
c char
리턴 string