Click or drag to resize

StringUtilsTruncate Method

Overload List
  NameDescription
Public methodStatic memberTruncate(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.
Public methodStatic memberTruncate(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.
Public methodStatic memberTruncate(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.
Top
See Also