$cropText
$cropText
is used to crop given text.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Text you want to slice. | true |
limit | number | Limit of the cropped text/will start to crop any text coming after that. | true |
start? | number | Where cropping should start. | false |
Example(s)
This will return bye
and remove hello and
from the given text: