Removes leading and trailing whitespace from a string.
string
{ "$template": { "$comment": "The field below will be 'this is a test'", "test": "{{trim(' this is a test ')}}" } }