Pipe Operator

Pipe operator |>:

import String

"  hello  "
  |> trim
  |> upcase

Similar to Clojure's threading macro:

(require '[clojure.string :refer [trim upper-case]])

(-> "  hello  "
    trim
    upper-case)

It is worth mentioning that Clojure's threading macro is more versertile with variations like ->>, as-> and cond->.