UNPKG

jsonata-extended

Version:
7 lines 330 B
{ "description": "Confirm success using custom length, array of characters to wordbreak on and omission.", "expr": "$truncate('1234567890123456 , 789012345678901234567890',{'length':20,'omission':'...','wordbreakregex':'[\\\\s\\\\.%,:;\\\\?_]'})", "dataset": "metadata", "bindings": {}, "result": "1234567890123456..." }