<turbo-stream action="update" target="wiki_99_subpage_170_info"><template>
<h1>POS(data, substring);</h1>
<p>Position is location of the 1. Character in the substring. The returned position is 0-based - i.e. the first position in the string is 0, next is 1 etc.:</p>
<p>&nbsp;</p>
<p><strong>Example:</strong></p>
<blockquote>
<p>##POS(Name,'Pete')</p>
<p><br>Source Field: Paul Petersen</p>
<p>Returns: 5</p>
</blockquote>
<p>If the substring cannot be found, a negative number (-1) is being returned.</p>
</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
