Rev 3469 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5903 | bpr | 1 | 所有的比较都在串上进行: <span class="tt">string1 rel string2</span>. |
2 | 可以利用 <span class="tt">and</span> 与 <span class="tt">or</span> 把比较结合起来. |
||
3263 | bpr | 3 | 还可以利用括号以构成复杂的比较式. |
196 | bpr | 4 | |
3469 | bpr | 5 | :有效的关系 |
3263 | bpr | 6 | :关系,条件 |
3469 | bpr | 7 | |
8 | :== |
||
9 | string1 == string2 string1 = string2 |
||
5903 | bpr | 10 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 完全相同. |
3469 | bpr | 11 | :!= |
12 | string1 != string2 string1 <> string2 |
||
5903 | bpr | 13 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 不相同. |
3263 | bpr | 14 | :< |
3469 | bpr | 15 | string1 < string2 |
5903 | bpr | 16 | true(真), 如果两个串的数值 <span class="tt">string1</span> < <span class="tt">string2</span>. |
3263 | bpr | 17 | :<= |
3469 | bpr | 18 | string1 <= string2 |
5903 | bpr | 19 | true(真), 如果两个串的数值 <span class="tt">string1</span> $m_le <span class="tt">string2</span>. |
3263 | bpr | 20 | :> |
3469 | bpr | 21 | string1 > string2 |
5903 | bpr | 22 | true(真), 如果两个串的数值 <span class="tt">string1</span> > <span class="tt">string2</span>. |
3263 | bpr | 23 | :>= |
3469 | bpr | 24 | string1 >= string2 |
5903 | bpr | 25 | true(真), 如果两个串的数值 <span class="tt">string1</span> $m_ge <span class="tt">string2</span>. |
3263 | bpr | 26 | :isin |
3469 | bpr | 27 | string1 isin string2 |
5903 | bpr | 28 | true(真), 若 <span class="tt">string1</span> 是 <span class="tt">string2</span> 的子串. |
3263 | bpr | 29 | :notin |
3469 | bpr | 30 | string1 notin string2 |
5903 | bpr | 31 | true(真), 若 <span class="tt">string1</span> 不是 <span class="tt">string2</span> 的子串. |
3263 | bpr | 32 | :iswordof |
3469 | bpr | 33 | string1 iswordof string2 |
5903 | bpr | 34 | true(真), 若 <span class="tt">string1</span> 是 <span class="tt">string2</span> 的一个词. |
3263 | bpr | 35 | :notwordof |
3469 | bpr | 36 | string1 notwordof string2 |
5903 | bpr | 37 | true(真), 若 <span class="tt">string1</span> 不是 <span class="tt">string2</span> 的一个词. |
3263 | bpr | 38 | :isvarof |
3469 | bpr | 39 | string1 isvarof string2 |
5903 | bpr | 40 | true(真), 若 <span class="tt">string1</span> 是表达式 <span class="tt">string2</span> 的一个(数学)变量. |
3263 | bpr | 41 | :notvarof |
3469 | bpr | 42 | string1 notvarof string2 |
5903 | bpr | 43 | true(真), 若 <span class="tt">string1</span> 不是表达式 <span class="tt">string2</span> 的一个(数学)变量. |
3263 | bpr | 44 | :isvariableof |
3469 | bpr | 45 | string1 isvariableof string2 |
5903 | bpr | 46 | true(真), 若 <span class="tt"> string1</span> 是表达式 <span class="tt">string2</span> 的一个(数学)变量. |
3263 | bpr | 47 | :notvariableof |
3469 | bpr | 48 | string1 notvariableof string2 |
5903 | bpr | 49 | true(真), 若 <span class="tt"> string1</span> 不是表达式 <span class="tt">string2</span> 的一个(数学)变量. |
3263 | bpr | 50 | :isitemof |
3469 | bpr | 51 | string1 isitemof string2 |
5903 | bpr | 52 | true(真), 若 <span class="tt"> string1</span> 是表 <span class="tt">string2</span> 的一项. |
3263 | bpr | 53 | :notitemof |
3469 | bpr | 54 | string1 notitemof string2 |
5903 | bpr | 55 | true(真), 若 <span class="tt"> string1</span> 不是表 <span class="tt">string2</span> 的一项. |
3263 | bpr | 56 | :islineof |
3469 | bpr | 57 | string1 islineof string2 |
5903 | bpr | 58 | true(真), 若 <span class="tt"> string1</span> 是表 <span class="tt">string2</span> 的一行. |
3263 | bpr | 59 | :notlineof |
3469 | bpr | 60 | string1 notlineof string2 |
5903 | bpr | 61 | true(真), 若 <span class="tt"> string1</span> 不是表 <span class="tt">string2</span> 的一行. |
3263 | bpr | 62 | :issamecase |
3469 | bpr | 63 | string1 issamecase string2 |
5903 | bpr | 64 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 有相同的文字, 比较时不考虑多余的空格, 但是区别大小写字母. |
3263 | bpr | 65 | :notsamecase |
3469 | bpr | 66 | string1 notsamecase string2 |
5903 | bpr | 67 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 有不相同的文字, 比较时不考虑多余的空格, 但是区别大小写字母. |
3263 | bpr | 68 | :issametext |
3469 | bpr | 69 | string1 issametext string2 |
5903 | bpr | 70 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 有相同的文字, 比较时不考虑多余的空格、大小写字母及有重音号的字母. |
3263 | bpr | 71 | :notsametext |
3469 | bpr | 72 | string1 notsametext string2 |
5903 | bpr | 73 | true(真), 若 <span class="tt"> string1</span> 与 <span class="tt">string2</span> 有不相同的文字, 比较时不考虑多余的空格、大小写字母及有重音号的字母. |
2071 | zjchen | 74 |