fetching index of an element in dataweave
<p>How to fetch an index of an element of an array in Dataweave.(mule)</p>

<p>Ex: Array --> ["a","b","c","d"]
    element --> c</p>

<pre><code>Need to fetch the index of element "c"
</code></pre>