trim
Full name: taxi.stdlib.trim
Signature
declare extension function trim(String):StringDescription
Removes leading and trailing whitespace from a string.
find { order: Order } as {
cleanRef: String = order.referenceCode.trim()
}Examples
Strips leading and trailing whitespace from a string.
Try it out
Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed