| Operator | Description and example |
|---|---|
Adds the two operands and returns the result. If at least one operand is a string, this operator returns a concatenated string. Example: In this example, the |
|
Subtracts the second operand from the first. Example: In this example, the |
|
Multiplies the two operands. Example: In this example, the |
|
| / | Yields the quotient of the operands, which is the first operand divided by the second. Example: In this example, the |
| Mod (Modulus) | Divides the first integer operand by the second integer operand and returns the remainder, rounded to the nearest integer. Example: In this example, the |
| Operator | Description and example |
|---|---|
| And | Performs logical conjunction on two Boolean expressions: returns Example: In this example, the |
| Or | Performs logical disjunction on two Boolean expressions: returns Example: |
| Not | Performs logical negation on a Boolean expression: returns Example: In this example, the |
| Operator | Description and example |
|---|---|
| = | Returns Example: In this example, the |
| <> | Returns Example: In this example, the |
| < | Returns Example: In this example, the |
| > | Returns Example: In this example, the |
| <= | Returns Example: In this example, |
| >= | Returns Example: In this example, the |
| Operator | Description and example |
|---|---|
| In | An operator that returns Example: In this example, the |
| True | A binary constant used as an operand in logical expressions. Example: |
| False | A binary constant used as an operand in logical expressions. Example: |
| Null | A special value used as an operand in logical expressions; designates an undefined value. Example: |
| Function | Description and example |
|---|---|
CBool(x) |
Converts the expression used as the function argument into a
Boolean expression.
Returns Example: Here |
CDate(x) |
Converts the expression used as the function argument into a value of the Date type. The argument should be a valid date expression according to the locale selected for the import or export scenario. Example: Here a string is used as the function argument. |
CStr(x) |
Converts the expression used as the function argument into a
string.
If the argument is Example: Here |
CDbl(x) |
Converts the expression defined in the function argument into a value of the Example: Here |
CSng(x) |
Converts the expression used as the function argument into a
value of the Example: Here |
| CDec(x) | Converts the expression used as the function argument into a value of the Example: Here |
| CInt(x) | Converts the expression used as the function argument into a value of the Example: Here |
| CShort(x) | Converts a numeric value to a value of the Example: Here |
| CLong(x) | Converts a numeric value to a value of the Example: Here |
| Function | Description and example |
|---|---|
| LTrim(string) | Removes all leading spaces or parsing characters from the specified string, or all leading zero bytes (0) from the specified binary expression. Example: Here |
| RTrim(string) | Removes all trailing spaces or parsing characters from the specified character expression, or all trailing zero (0) bytes from the specified binary expression. Example: Here |
| Trim(string) | Removes all leading and trailing spaces or parsing characters from the specified character expression, or all trailing zero (0) bytes from the specified binary expression. Example: Here |
| Format(format, argument(s)) | Replaces the format item in a specified formatting string ( format ) with the text equivalent of the arguments ( arguments ). Example: Here |
| UCase(string) | Returns a string that has been converted to uppercase. The string argument can be any valid string expression. If string contains Null, Null is returned. Example: Here |
| LCase(string) | Returns a string that has been converted to lowercase. The string argument can be any valid string expression. If string contains Null, Null is returned. Example: Here |
| InStr(string, findString) | Returns the position of the first occurrence of one string ( findString ) within another ( string ). Example: Here |
| InStrRev(string, findString) | Returns the position of the last occurrence of one string ( findString ) within another ( string ). Example: Here |
| Len(string) | Returns an integer containing either the number of characters in the string or the nominal number of bytes required to store a variable. Example: Here |
| Left(string, length) | Returns a string containing the specified number of characters from the left side of a string. If string contains Null, Null is returned. Example: Here |
| Right(string, length) | Returns a string containing a specified number of characters from the right side of a string. If string contains Null, Null is returned. Example: Here |
| Replace(string, oldValue, newValue) | Returns a string in which the specified substring ( oldValue ) has been replaced with another substring ( newValue ). Example: Here |
| PadLeft(string, width, paddingChar) | Right-aligns the characters in a specified string (string), padding with the specified character (paddingChar) on the left up to the specified total width (width). If the actual length of the string is less than the specified width, returns the original string. Example: Here |
| PadRight(string, width, paddingChar) | Left-aligns the characters in a specified string ( string ), padding with the specified character ( paddingChar ) on the right up to the specified total width ( width ). Example: Here |
| Function | Description and example |
|---|---|
| Abs(x) | Returns the absolute value of the number. Example: Here |
| Floor(x) | Returns the largest integer that is not greater than the argument. Example: Here |
| Ceiling(x) | Returns the smallest integer that is not less than the argument. Example: Here |
| Round(x, decimals) | Returns a numeric expression, rounded to the specified precision ( decimals ). Example: Here |
| Min(x, y) | Returns the smaller of the two values. Example: Here |
| Max(x, y) | Returns the greater of the two values. Example: Here |
| Pow(x, power) | Computes the value of x raised to the specified power ( power ). Example: Here |
| Function | Description and example |
|---|---|
| Now() | Returns the current date and time according to the system date and time on the local computer. Example: |
| Today() | Returns the current date according to the system date and time on the local computer. Example: |
| NowUTC() | Returns the current date and time according to the user’s time zone. The system gets the user’s time zone from the following sources, which are ordered by the priority from the highest to the lowest:
Example: |
| TodayUTC() | Returns the current date according to the user’s time zone. The system gets the user’s time zone from the following sources, which are ordered by the priority from the highest to the lowest:
Example: |
| DateAdd(dt, int, nbr) | Returns a new date calculated by adding the specified number (
Examples:
In these examples, |
| Year(date) | Returns the year, as an integer, extracted from the specified date ( Example: Here |
| Month(date) | Returns the month, as an integer, extracted from the specified date ( Example: Here |
| Day(date) | Returns the day (as an integer) extracted from the specified date ( Example: Here |
| DayOfWeek(date) | Returns the day of the week associated with the specified date ( Example: Here |
| DayOfYear(date) | Returns the day of the year calculated for the specified date ( Example: Here |
| Minute(date) | Returns the number of minutes extracted from the specified date ( Example: Here |
| Second(date) | Returns the seconds extracted from the specified date ( Example: Here |
| Function | Description and Example |
|---|---|
| IIf(expression, truePart, falsePart) | Returns one of two values, depending on the evaluation of the expression: If the expression evaluates to Example: Here |
| Switch( expression_1, value_1, expression_2, value_2,…) | Returns the value value_n that corresponds to the first expression expression_n that evaluates to Example: Here |
| IsNull(value, nullValue) | Replaces Example: |
| Sum(from, to) | Is not applicable to formulas used by the Integration forms. |
| Provider.CalculateHash(string) | Calculates the hash string for the specified string. Example: In this example, the hash string is calculated for the string that contains concatenated values of the |
| Provider.CalculateHashCode(string) | Calculates the hash code (which is an Example: In this example, the hash code is calculated for the string that contains concatenated values of the |