Method | Description | |
---|---|---|
Truncate ( this value, int maxChars ) : string |
Truncates the string to the max length. If the string is longer than maxChars then the string is returned at maxChars -3 length with ... appended
|
public static Truncate ( this value, int maxChars ) : string | ||
value | this | string to truncate |
maxChars | int | max number of characters to return |
return | string |