Rev 32 | Rev 5920 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | reyssat | 1 | !! +var+ +string+ |
2 | $lst_tit getopt$lst_titend$type_both |
||
4562 | bpr | 3 | $(lst_syntax)getopt $emph name$emphend in $emph string$emphend</tt> |
32 | reyssat | 4 | $lst_mean This command allows to extract the definition of a word in |
5 | $emph string$emphend under the form $emph name=value$emphend. |
||
6 | <p> |
||
7 | It returns the defined $emph value$emphend in the string, or the |
||
8 | $emph name$emphend itself if it appears in $emph string$emphend but |
||
9 | if there is no $emph =$emphend sign following it, or an empty string |
||
10 | if $emph name$emphend does not appear in $emph string$emphend as a word. |
||
11 | <p> |
||
12 | $emph value$emphend can be a multi-word string, if it is enclosed by a |
||
13 | pair of parentheses, brackets, curly braces or double quotes. The enclosing |
||
14 | parentheses etc. will be removed from the output. |
||
15 | <p> |
||
16 | Spaces are allowed before and/or after the $emph =$emphend sign. |
||
17 | |||
18 |