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