Rev 5921 | Rev 11292 | 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+ |
11210 | bpr | 2 | tit:embraced |
3 | type:$type_both |
||
4 | syntax:!embraced `opword string' |
||
5 | mean:executes an operation `opword' in each substring of `string' enclosed in a pair \ |
||
6 | of curly braces.\ |
||
7 | <p>\ |
||
8 | The curly braces in `string' can be nested, but the execution runs from outmost pair \ |
||
9 | to innermost pair.\ |
||
10 | </p><p>\ |
||
11 | Available `opword':\ |
||
12 | </p><ul>\ |
||
13 | <li><span class="tt">randitem</span>. Random item in every embraced text.</li>\ |
||
14 | <li><span class="tt">extract</span>. Extracts the first (outmost) embraced text.</li>\ |
||
15 | <li><span class="tt">delete</span>. Deletes all embraced contents (encluding the curly braces).</li>\ |
||
32 | reyssat | 16 | </ul> |