Subversion Repositories wimsdev

Rev

Rev 5921 | Rev 11220 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5921 Rev 11210
Line 1... Line 1...
1
!! +exec+ +var+ +string+
1
!! +exec+ +var+ +string+
-
 
2
tit:positionof
2
$lst_tit positionof$lst_titend$type_both
3
type:$type_both
3
  $lst_alias position, positions
4
alias:!position, !positions
4
  $(lst_syntax)positionof [$(emph)type$emphend] $emph s $emphend in $emph
5
syntax:!positionof [`type'] `s' in `string'
5
  string$emphend</span>
-
 
6
  $lst_mean Reports the positions of the object $emph s $emphend in
6
mean:Reports the positions of the object `s' in `string'. <br/>\
7
  $emph string$emphend. <br/>
-
 
8
  $emph type$emphend can be <span class="tt">char</span>, <span class="tt">word</span>, <span class="tt">item</span> or
7
  `type' 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
8
  <span class="tt">line</span>. If it is specified, then the comparison only takes place for\
10
  corresponding objects of $emph string$emphend which are identical to
9
  corresponding objects of `string' which are identical to `s'. <br/>\
11
  $emph s$emphend. <br/>
-
 
12
  The output of the command is a list of positions (char, word, item or
10
  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
11
  line, according to the value of `type') where `s' is found in `string'. <br/>\
14
  is found in $emph string$emphend. <br/>
-
 
15
  If $emph type$emphend is missing, then $emph s$emphend is searched in
12
  If `type' is missing, then `s' is searched in `string' as a substring,\
16
  $emph string $emphend as a substring, and the positions reported are
13
  and the positions reported are character positions.
17
  character positions.
-