trim
Removes whitespace from the start and end of a string.
{ "type": "record", "name": "events", "fields": [ { "name": "name", "type": "string" } ] }
and a record such as:
{ "name" : " John Smith " }
The following record path expression would remove extraneous whitespace:
RecordPath |
Return value |
---|---|
|
John Smith |