# A confusing problem of pipe

**URL:** https://discourse.julialang.org/t/a-confusing-problem-of-pipe/61438
**Category:** General Usage
**Tags:** piping
**Created:** [May 19, 2021, 1:07pm UTC](https://discourse.julialang.org/t/a-confusing-problem-of-pipe/61438 "2021-05-19T13:07:35Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [May 19, 2021, 6:59pm UTC](https://discourse.julialang.org/t/a-confusing-problem-of-pipe/61438/5 "2021-05-19T18:59:02Z")

</div>

There was recently an [announcement](https://discourse.julialang.org/t/ann-datapipes-jl/60734) of new piping package DataPipes.jl by @aplavin.

Wondering if code below is a proper way of writing requested task:

```julia
using DataPipes 
@p begin
    "hello-world julia" |>
    split(_, [' ', '-'])
    filter.(isletter,↑)
    first.(↑)
    uppercase.(↑)
    join
end

```

result seems correct at least: `"HWJ"`

---

_[View the full topic](https://discourse.julialang.org/t/a-confusing-problem-of-pipe/61438)._
