StringUtilsTruncate Method |
Name | Description | |
---|---|---|
Truncate(String, Int32) |
Truncate the specified string to be no longer than the specified length.
The original string is unmodified and the modified string is returned.
| |
Truncate(String, Int32, String) |
Truncate the specified string to be no longer than the specified length.
The original string is unmodified and the modified string is returned.
| |
Truncate(String, Int32, Boolean, String) |
Truncate the specified string to be no longer than the specified length.
The original string is unmodified and the modified string is returned.
If so specified, ellipses will be added to truncated strings if maxLength
is greater than a minimum threshhold (currently 10 chars). Note that the
truncated string INCLUDING ellipses will be of maxLength.
|