LanguageFunctionstrimVersion: v1.8.0On this pagetrimFunction trim — strip leading and trailing whitespaceSynopsistrim(s: string) -> stringDescriptionThe trim function converts stips all leading and trailing whitespace from string argument s and returns the result.Examplesecho '" = Zed = "' | zq -z 'yield trim(this)' -=>"= Zed ="