C# 클래스 CodicExtension.StringExtensions

파일 보기 프로젝트 열기: codic-project/codic-vs-extension

공개 메소드들

메소드 설명
Truncate ( this value, int maxChars, string postfix = "..." ) : string

비공개 메소드들

메소드 설명
ToSingleWordsSpace ( this text ) : string
TrimRestore ( this trimmedText, string originalText ) : string

Restores the beginning and end of string eliminated by trim using the start and the end of the reference string.

메소드 상세

Truncate() 공개 정적인 메소드

public static Truncate ( this value, int maxChars, string postfix = "..." ) : string
value this
maxChars int
postfix string
리턴 string