Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 626 Bytes

File metadata and controls

15 lines (11 loc) · 626 Bytes

ellipsisify(str, cutoff, remain, [ellipsis]) ⇒ string

ellipsisify

Kind: global function
Returns: string - ellipsisified string

Param Type Default Description
str string The string you need to cut off
cutoff number The position on which you want to cut off
remain number The amount of characters that should remain after the ellipsis
[ellipsis] string "'...'" The string to add to the end