# How to find first small letter?

**URL:** <https://discourse.julialang.org/t/how-to-find-first-small-letter/6049>\
**Category:** General Usage\
**Created:** [September 23, 2017, 10:31am UTC](https://discourse.julialang.org/t/how-to-find-first-small-letter/6049 "2017-09-23T10:31:32Z")\
**Posts on this page:** 3\
**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:** [September 23, 2017, 10:31am UTC](https://discourse.julialang.org/t/how-to-find-first-small-letter/6049/1 "2017-09-23T10:31:32Z")

</div>

How to find first small letter ? In this D065\_1kt19 string ‘k’ . Length of first part is flexible.  
Paul

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [September 23, 2017, 10:57am UTC](https://discourse.julialang.org/t/how-to-find-first-small-letter/6049/2 "2017-09-23T10:57:11Z")

</div>

```julia
julia> find(islower, "D065_1kt19")[1]                                                                                                                 
7                                                                                                                                                     

```

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [September 23, 2017, 11:53am UTC](https://discourse.julialang.org/t/how-to-find-first-small-letter/6049/3 "2017-09-23T11:53:31Z")

</div>

Better use `findfirst`, though.
