Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

function namemeaningparameter1parameter2parameter3parameter4
IIFConditional If, if parameter1 is true then returns parameter2 otherwise returns parameter3conditionexpression to return if condition is trueexpression to return if condition is not true 
Coalescereturns the first non-null parameterfirst expression to check if not-nullsecond expression to check if not-null(optional) 3rd expression to check(optional) 4th expression to check (you can have an unlimited number of parameters)
NullIfreturns NULL if parameter1 equals parameter 2, otherwise it returns parameter1value to return if not equal to parameter2value to test parameter1 against  
NullIfErrorreturns NULL if the evaluation of parameter1 throws an exception, otherwise it returns parameter 1expression to evaluate   
Datereturns a new date value from the supplied Gregorian calendar componentsyearmonthday 
Nowreturns the date and time right at the time the formula evaluation began (this value does not change when called multiple times with a given formula evaluation context, such that if used on an export all rows would have the same value)    
AddDaysreturns the result of adding a number of days to a datestarting datenumber of days to add  
AddMonthsreturns the result of adding a number of months to a datestarting datenumber of months to add  
AddYearsreturns the result of adding a number of years to a datestarting datenumber of years to add  
Dayreturns the day of the month of a given datedate   
Monthreturns the calendar month of a given datedate   
Yearreturns the calendar year of a given datedate   
DayOfWeekreturns the day of the week (sunday = 0, monday = 1, ... saturday = 6 ) of a given datedate   
ParseDateconverts a string to a datestring value to parse(optional) the expected format of the string. For example MM/dd/yyyy  
Lenreturns the length of a string; or, the number of elements in a list/arraystring value or array value   
Leftreturns a portion of a string starting from the leftstring valuemaximum number of characters to return  
Rightreturns a portion of a string starting from the rightstring valuemaximum number of characters to return  
Substringreturns a portion of a string starting at a given position (this function will error if you specify a start and/or length beyond the range of the string)string valuethe starting index (beginning with 0)(optional) the number of characters to return 
Replacereturns a the result of a string search-and-replace operation (case-sensitive)string value to searchsubstring to search for within parameter1string value with which to replace any occurrences of parameter2 
IndexOfreturns the first occurrence of a search within a string (-1 means not found, >= 0 means the index within the string that the match was found)string value to searchsubstring to search for(optional) the starting position (beginning with 0) to begin searching.(optional)true for case-sensitive, false for case-insensitive
StartsWithreturns true if a string starts with a given substring, false otherwisestring value to checksubstring to search for(optional) true for case-sensitive, false for case-insensitive 
EndsWithreturns true if a string ends with a given substring, false otherwisestring value to checksubstring to search for(optional) true for case-sensitive, false for case-insensitive 
StringComparereturns -1 if the parameter1 is alphabetically less than parameter2, 0 if they are equal, and 1 if parameter2 is greater than parameter1first string to comparesecond string to compare(optional) true for case-sensitive, false for case-insensitive 
ToUpperreturns the result of converting any lower case letters in parameter1 to upper-case lettersstring value   
ToLowerreturns the result of converting any upper case letters in parameter1 to lower-case lettersstring value   
Trimreturns the result of removing any leading or trailing white-space characters from parameter1string value   
PadLeftreturns the specified string padded to the left to the specified length if the string is less than that lengthstring valueminimum length to pad to(optional)character to use for padding 
PadRightreturns the specified string padded to the right to the specified length if the string is less than that lengthstring valueminimum length to pad to(optional)character to use for padding 
MatchRegexreturns whether or not the specified string matches the supplied regular expressionstring test valueregular expression (ECMA script)(optional) true for case-insensitive, false for case-sensitive 
ReplaceRegexreturns the result of a regular expression replacementstring valueregular expression match string (ECMA script)regular expression replacement string(optional) true for case-insensitive, false for case-sensitive
ParseFirstNamereturns the first name component of the supplied full namefull name to parse   
ParseLastNamereturns the last name component of the supplied full namefull name to parse   
ParseMiddleNamereturns the middle name component of the supplied full namefull name to parse   
ParseSuffixreturns the suffix component of the supplied full namefull name to parse   
Formatreturns the result of formatting zero or more supplied values into a string using a standard .net formatting string. Parameter1 is returns with { n } replaced by value-n, and { n : format } replaced by value-n formatted by the specified format. For example Format("{0} + {1:0.00} = {2:0.0}", 1, 2, 3) would return "1 + 2.00 = 3.0".net style format string(optional) value 0 to apply to the format string(optional) value 1 to apply to the format string(optional) value 2 to apply to the format string. You can supply an unlimited number of value
Roundreturns a numeric value rounded to a given number of decimal places. Midpoints are rounded away from 0 (e.g. 2.5 rounds to 3)numeric value to round(optional) number of decimal places to round to (0 is the default)  
Truncatereturns the integer portion of a number, discarding any fractional amounts (can be thought of as rounding towards 0)numeric value   
Ceilingreturns a numeric value rounded up to the first integer greater than or equal to it (can be thought of as rounding towards positive infinite)numeric value   
Floorreturns a numeric value rounded down to the first integer less than or equal to it (can be thought of as rounding towards negative infinite)numeric value   
Fracreturns the fractional portion of a numbernumeric value   
Absreturns the absolute value of a numbernumeric value   
GetPropertygets the specified property of an objectobject valuestring property name  
GetPropertyNamesgets an array of all of the properties in an objectobject value   
HasPropertygets whether or not the specified property exists in an objectobject valuestring property name  
GetListItemgets the specified array/list itemarray value   
CurrentRecordreturns the current field values wrapped up as an object    

...