Subversion Repositories wimsdev

Rev

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