Scripting Operators » History » Revision 22
Revision 21 (Per Amundsen, 10/22/2015 04:01 PM) → Revision 22/64 (Per Amundsen, 10/22/2015 04:01 PM)
h1. Scripting Operators <pre> === ismatch ison isop ishop issop isowner isvoice ischan isreg isban isinvite isexcept isignore isurl !ismatch !ison !isop !ishop !issop !isowner !isvoice !ischan !isreg !isban !isinvite !isexcept !isignore !isurl </pre> h2. Math Comparison Operators |_.Syntax |_.Name |_<.Result | |=. <notextile>%x == %y</notextile> <notextile>%x = %y</notextile> <notextile>%x != %y</notextile> <notextile>%x !== %y</notextile> <notextile>%x < %y</notextile> <notextile>%x > %y</notextile> <notextile>%x <= %y</notextile> <notextile>%x >= %y</notextile> <notextile>%x // %y</notextile> <notextile>%x \\ %y</notextile> <notextile>%x & %y</notextile> |^. Equal Equal Not equal Not equal Less than Greater than Less than or equal to Greater than or equal to Multiple Of (Divides) Not Multiple Of (Not Divides) Bitwise And |^. True, if %x is equal to %y. True, if %x is equal to %y. True, if %x is not equal to %y. True, if %x is not equal to %y. True, if %x is strictly less than %y. True, if %x is strictly greater than %y. True, if %x is less than or equal to %y. True, if %x is greater than or equal to %y. True, if %x divides %y. True, if %x does not divides %y. True, if (bit representation of) %x AND %y is a none zero. | h2. String Comparison Operators |_.Syntax |_.Name |_<.Result | |=. %x isin %y %x isincs %y %x iswm %y %x iswmcs %y %x isnum %x isnum N %x isnum N- %x isnum N-M %x isletter %x isletter N %x isalnum %x isalpha %x islower %x isupper |^. Is In Is In (case sensitive) Wildcard Matching Wildcard Matching (case sensitive) Is Digit Is Digit, Equal to Is Digit, Greater than or equal to Is Digit, in Range Is a Letter Is a Letter In A List Alphanumeric Characters Alphabetic Characters All lower case letters All upper case letters |^. True, if %x is fully found inside %y. True, if %x is fully found inside (case sensitive) %y. True, if wildcard string %x matches %y. True, if wildcard string %x matches (case sensitive) %y. True, if %x is a number. True, if %x is number N. True, if %x is number N or greater. True, if %x is a number between N and M (inclusively). True, if %x is a letter. True, if %x is a letter in a list of letters. True, if %x contains only alphabetic or numeric characters. True, if %x contains only alphabetic characters. True, if %x contains only lower case letters. True, if %x contains only upper case letters. | h2. String Comparison Operators |_.Syntax |_.Name |_<.Result | |=. <notextile>a == b</notextile> b</notextile > <notextile < notextile >a === b</notextile> b</notextile > <notextile < notextile >str1 == str2</notextile> str2</notextile > <notextile < notextile >str1 === str2</notextile> str2</notextile > a < b a > b str1 < str2 str1 > str2 |^. Case insensitive character comparison Case sensitive character comparison Case insensitive String comparison Case sensitive String comparison Lexicographically Less ThanLexicographically Less Than Lexicographically Greater Than Lexicographically Less Than Lexicographically Greater Than |^. True, if character a is equal to character b, case insensitive. True, if character a is equal to character b, case sensitive. True, if str1 equals str2 in a case insensitive manner. True, if str1 equals str2 in a case sensitive manner. True, if the [[$asc]](a) comes before [[$asc]](b) True, if the [[$asc]](a) comes after [[$asc]](b) True, if str1 comes before str2 True, if str1 comes after str2 |