Subversion Repositories wimsdev

Rev

Rev 4562 | Rev 5921 | 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
4562 bpr 5
  string$emphend</tt>
32 reyssat 6
  $lst_mean Reports the positions of the object $emph s $emphend in
5766 bpr 7
  $emph string$emphend. <br/>
32 reyssat 8
  $emph type$emphend can be <tt>char</tt>, <tt>word</tt>, <tt>item</tt> or
9
  <tt>line</tt>. If it is specified, then the comparison only takes place for
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.
18
 
19
 
20