1,17 → 1,13 |
!! +exec+ +var+ +string+ |
$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. |
tit:positionof |
type:$type_both |
alias:!position, !positions |
syntax:!positionof [`type'] `s' in `string' |
mean:Reports the positions of the object `s' in `string'. <br/>\ |
`type' 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 `string' which are identical to `s'. <br/>\ |
The output of the command is a list of positions (char, word, item or\ |
line, according to the value of `type') where `s' is found in `string'. <br/>\ |
If `type' is missing, then `s' is searched in `string' as a substring,\ |
and the positions reported are character positions. |