$lst_tit positionof$lst_titend$type_both
$lst_alias position, positions
$(lst_syntax)positionof [$(emph)type$emphend] $emph s $emphend in $emph
string$emphend</span>
$lst_mean Reports the positions of the object $emph s $emphend in
$emph string$emphend. <br/>
$emph type$emphend can be <span class="tt">char</span>, <span class="tt">word</span>, <span class="tt">item</span> or
<span class="tt">line</span>. If it is specified, then the comparison only takes place for
corresponding objects of $emph string$emphend which are identical to
$emph s$emphend. <br/>
The output of the command is a
list of positions
(char
, word
, item or
line, according to the value of $emph type$emphend) where $emph s$emphend
is found in $emph string$emphend. <br/>
If $emph type$emphend is missing, then $emph s$emphend is searched in
$emph string $emphend as a substring, and the positions reported are
character positions.