Rev 5766 | Rev 11210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | reyssat | 1 | !! +exec+ +var+ +string+ |
2 | $lst_tit positionof$lst_titend$type_both |
||
4562 | bpr | 3 | $lst_alias position, positions |
32 | reyssat | 4 | $(lst_syntax)positionof [$(emph)type$emphend] $emph s $emphend in $emph |
5921 | bpr | 5 | string$emphend</span> |
32 | reyssat | 6 | $lst_mean Reports the positions of the object $emph s $emphend in |
5766 | bpr | 7 | $emph string$emphend. <br/> |
5921 | bpr | 8 | $emph type$emphend can be <span class="tt">char</span>, <span class="tt">word</span>, <span class="tt">item</span> or |
9 | <span class="tt">line</span>. If it is specified, then the comparison only takes place for |
||
32 | reyssat | 10 | corresponding objects of $emph string$emphend which are identical to |
5766 | bpr | 11 | $emph s$emphend. <br/> |
32 | reyssat | 12 | The output of the command is a list of positions (char, word, item or |
13 | line, according to the value of $emph type$emphend) where $emph s$emphend |
||
5766 | bpr | 14 | is found in $emph string$emphend. <br/> |
32 | reyssat | 15 | If $emph type$emphend is missing, then $emph s$emphend is searched in |
16 | $emph string $emphend as a substring, and the positions reported are |
||
17 | character positions. |