Rev 8354 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5903 | bpr | 1 | All comparisons are made on strings: <span class="tt wims_code_words">string1 rel string2</span>. |
8354 | bpr | 2 | Comparisons can be joined using <span class="tt wims_code_words">and</span> and |
5903 | bpr | 3 | <span class="tt wims_code_words">or</span>. Parentheses may |
3263 | bpr | 4 | be used to build complex comparison logics. |
196 | bpr | 5 | |
3469 | bpr | 6 | :Valid relations |
3263 | bpr | 7 | :Relation,Condition |
3469 | bpr | 8 | :== |
17348 | bpr | 9 | string1 == string2 <br> string1 == string2 |
10 | with <span class="tt wims_code_words">if</span>: true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are identical.<br> with <span class="tt wims_code_words">ifval</span>: true if the numerical evaluations of <span class="tt wims_code_words">string1</span> and of <span class="tt wims_code_words">string2</span> are equal. |
||
3469 | bpr | 11 | :!= |
17348 | bpr | 12 | string1 != string2 <br> string1 <> string2 |
13 | with <span class="tt wims_code_words">if</span>: true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT identical.<br> with <span class="tt wims_code_words">ifval</span>: true if the numerical evaluations of <span class="tt wims_code_words">string1</span> and of <span class="tt wims_code_words">string2</span> are not equal. |
||
8354 | bpr | 14 | :!= |
3263 | bpr | 15 | :< |
8354 | bpr | 16 | string1 < string2 |
5903 | bpr | 17 | true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is < <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 18 | :<= |
8354 | bpr | 19 | string1 <= string2 |
5903 | bpr | 20 | true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is $m_le <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 21 | :> |
8354 | bpr | 22 | string1 > string2 |
5903 | bpr | 23 | true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is > <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 24 | :>= |
8354 | bpr | 25 | string1 >= string2 |
5903 | bpr | 26 | true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is $m_ge <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 27 | :isin |
8354 | bpr | 28 | string1 isin string2 |
5903 | bpr | 29 | true if <span class="tt wims_code_words">string1</span> is a substring of <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 30 | :notin |
8354 | bpr | 31 | string1 notin string2 |
5903 | bpr | 32 | true if <span class="tt wims_code_words">string1</span> is NOT a substring of <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 33 | :iswordof |
8354 | bpr | 34 | string1 iswordof string2 |
5903 | bpr | 35 | true if <span class="tt wims_code_words">string1</span> is a word of <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 36 | :notwordof |
8354 | bpr | 37 | string1 notwordof string2 |
5903 | bpr | 38 | true if <span class="tt wims_code_words">string1</span> is NOT a word of <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 39 | :isvarof |
8354 | bpr | 40 | string1 isvarof string2 |
41 | true if <span class="tt wims_code_words">string1</span> is a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>. |
||
3263 | bpr | 42 | :notvarof |
8354 | bpr | 43 | string1 notvarof string2 |
5903 | bpr | 44 | true if <span class="tt wims_code_words">string1</span> is NOT a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 45 | :isvariableof |
8354 | bpr | 46 | string1 isvariableof string2 |
5903 | bpr | 47 | true if <span class="tt wims_code_words">string1</span> is a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 48 | :notvariableof |
8354 | bpr | 49 | string1 notvariableof string2 |
5903 | bpr | 50 | true if <span class="tt wims_code_words">string1</span> is NOT a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 51 | :isitemof |
8354 | bpr | 52 | string1 isitemof string2 |
5903 | bpr | 53 | true if <span class="tt wims_code_words">string1</span> is an item of the list <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 54 | :notitemof |
8354 | bpr | 55 | string1 notitemof string2 |
5903 | bpr | 56 | true if <span class="tt wims_code_words">string1</span> is NOT an item of the list <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 57 | :islineof |
8354 | bpr | 58 | string1 islineof string2 |
5903 | bpr | 59 | true if <span class="tt wims_code_words">string1</span> is a line of the list <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 60 | :notlineof |
8354 | bpr | 61 | string1 notlineof string2 |
5903 | bpr | 62 | true if <span class="tt wims_code_words">string1</span> is NOT a line of the list <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 63 | :issamecase |
8354 | bpr | 64 | string1 issamecase string2 |
5903 | bpr | 65 | true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are the same text by a comparison insensitive to multiple spaces but case-sensitive. |
3263 | bpr | 66 | :notsamecase |
8354 | bpr | 67 | string1 notsamecase string2 |
5903 | bpr | 68 | true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT the same text by a comparison nsensitive to multiple spaces but case-sensitive. |
3263 | bpr | 69 | :issametext |
8354 | bpr | 70 | string1 issametext string2 |
5903 | bpr | 71 | true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are the same text by a comparison insensitive to cases, multiple spaces and accented letters. |
3263 | bpr | 72 | :notsametext |
8354 | bpr | 73 | string1 notsametext string2 |
5903 | bpr | 74 | true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT the same text by a comparison insensitive to cases, multiple spaces and accented letters. |
3469 | bpr | 75 |