Package DE_EPAGES::TLE::API::SliceFormatter
This handler supports the following formats:
- [slice] - Slice the input string to a specific length (default is 30)
- [substr] - Return a substring starting from specific position (first arg) with a specific length (second arg)
Example |
#VeryLongLongString[slice:11] => VeryLong... #VeryLongLongString[substr:8] => LongString #VeryLongLongString[substr:-10] => LongString #VeryLongLongString[substr:0:8] => VeryLong |