The Instruction operation "position" returns the zero-indexed position of the start of the first input string within the second input string.
In this example the value "on" is found in the second string "zone", it returns 1, as "z" is at position "0" and "on" starts at position 1.
<instruction operation="position">
<input value="on"/>
<input value="zone"/>
</instruction>
1
In this example a NaN value is returned, this is because the Value "zone" is not found within the value "on", obviously.
<instruction operation="position">
<input value="zone"/>
<input value="on"/>
</instruction>
NaN
In this example only the first index position is returned, so the value "-" is found at position 2 and all subsequent "-" within our value are ignored.
<instruction operation="position">
<input value="-"/>
<input value="10-11-10-"/>
</instruction>
2