Prism · Strings
$trim
Removes the whitespace at both ends of a string.
{ raw: ' Ada Lovelace ' }{ $trim: { $ref: '$.raw' } }'Ada Lovelace'
Runs in this page on the installed package. The input and the expected output are defined by the example.
Removes the whitespace at both ends of a string.
{ raw: ' Ada Lovelace ' }{ $trim: { $ref: '$.raw' } }'Ada Lovelace'
Runs in this page on the installed package. The input and the expected output are defined by the example.