whitesnake/ellipsis

Add an ellipsis to a string

1.0.1 2021-05-08 20:07 UTC

This package is auto-updated.

Last update: 2024-10-09 03:37:20 UTC


README

Easily add an ellipsis to a string if required

usage:

Note: If the string provided is shorter than the max length, the ellipsis will not be applied.

$text = Ellipsis:apply($text, $max_length, $marker);