Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 148 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 148 Bytes

truncateString

Extends the native JavaScript String class to add a truncate method. Can pass in a trailing text string if desired.