# How to return the index of element in Array in Integer not CartesianIndex?

**URL:** <https://discourse.julialang.org/t/how-to-return-the-index-of-element-in-array-in-integer-not-cartesianindex/67728>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 6, 2021, 2:34am UTC](https://discourse.julialang.org/t/how-to-return-the-index-of-element-in-array-in-integer-not-cartesianindex/67728 "2021-09-06T02:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wen-Wei\_Tseng](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wen-wei_tseng/32/28839_2.png) [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)\
**Post date:** [September 6, 2021, 2:50am UTC](https://discourse.julialang.org/t/how-to-return-the-index-of-element-in-array-in-integer-not-cartesianindex/67728/2 "2021-09-06T02:50:10Z")

</div>

It looked like [this](https://discourse.julialang.org/t/how-to-convert-cartesianindex-n-values-to-int64/15074/6).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-return-the-index-of-element-in-array-in-integer-not-cartesianindex/67728)._
