30
Real Data Type (real)
Real data type variables and properties contain numbers with decimal points. There are many
mathematical and comparison operations that can be performed with real variables and properties.
String Data Type (string)
String data types contain alphanumeric text. There are many methods that let you search and
manipulate string variables and properties.
The table below uses the following string variables as an example:
string test="1@2#3*a&bc))EFG"
string check="AbCdE"
Symbols
Operators
<, LT
Less Than
>, GT
Greater Than
<=, LE
Less Than or Equal To
>=, GE
Greater Than or Equal To
==, EQ
Equal To
<>, !=, NE
Not Equal To
+
Add
-
Subtract
*
Multiply
/
Divide
Method
Results
test.AsAlphaNumeric()
"123abcEFG"
test.AsLower()
"1@2#3*a&bc))efg"
test.AsUpper()
"1@2#3*A&BC))EFG"
check.Compare("abcde")
FALSE
check.CompareNoCase("abcde")
TRUE
check.Concatenate("fgh")
"AbCdEfgh"
test.Contains("EFG")
TRUE
test.Find("EFG")
13
test.Find("Hello")
0
check.Length()
5
check.Left(3)
"AbC"
check.Mid(3,3)
"CdE"
check.Right(2)
"dE"