Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/8.0.0/doc/selectlib/node10.html
Дата изменения: Wed Jul 2 00:22:19 2008 Дата индексирования: Fri Sep 5 21:39:28 2008 Кодировка: Поисковые слова: m 1 |
The following string operators and functions are available:
description | symbol/name | true example expression | comment |
equality | ==, != | "X"=="X", "XMM"!="XTE" | |
relational operators | <, <=, >, >= | "a"<"b", "a"<="b", | lexicographical order |
"b">"a", "b">="a" | |||
change case | upper/lower | upper("Xmm")=="XMM" | |
lower("XMM")=="xmm" | |||
length | strlen | strlen("XMM")==3, | |
strlen("")==0 | |||
ASCII value | ascii | ascii(" ")==32, | |
ascii("Z")-ascii("A")+1==26 | |||
concatenation | + | "Coca-"+"Cola"=="Coca-Cola" | |
range operator | [:], [:hi], | "XMM"[0:1]=="XM" | first character has index 0; |
[lo:], [lo:hi] | "FREDDY"[2:]=="EDDY" | omitted lower/upper bound | |
expands to 0/actual length-1 |