# How to find in Array of Pair?

**URL:** <https://discourse.julialang.org/t/how-to-find-in-array-of-pair/34426>\
**Category:** General Usage\
**Tags:** pair\
**Created:** [February 10, 2020, 5:40pm UTC](https://discourse.julialang.org/t/how-to-find-in-array-of-pair/34426 "2020-02-10T17:40:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [February 10, 2020, 5:40pm UTC](https://discourse.julialang.org/t/how-to-find-in-array-of-pair/34426/1 "2020-02-10T17:40:31Z")

</div>

Hot to find in head1 “Content-Type” ?  
‘’’  
julia\> head1  
40-element Array{Pair{SubString{String},SubString{String}},1}:  
“Accept-Ranges” =\> “bytes”

```
                             "Age" => "0"

                   "Cache-Control" => "max-age=120"

                    "Content-Type" => "text/html; charset=windows-1250"

                            "Date" => "Mon, 10 Feb 2020 17:32:20 GMT"

                   "Last-Modified" => "Mon, 10 Feb 2020 17:26:28 GMT"

                          "Server" => "Microsoft-IIS/7.5"

```

‘’’  
Thx. , Paul

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [February 10, 2020, 6:16pm UTC](https://discourse.julialang.org/t/how-to-find-in-array-of-pair/34426/2 "2020-02-10T18:16:51Z")

</div>

```julia
find(x -> x[1] == "Content-Type", head1)

```
