Functions
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Functions

  • Dark
    Light
  • PDF

Article summary

 See Also 

Expression Field

Programmed Field


STRLENGTH(A)
AName of string field


ResultA field containing the length of field A




CONCAT(A,B,C,D,E,F)
AName of string field or #immediate value
BName of string field or #immediate value
CName of string field or #immediate value
DName of string field or #immediate value
EName of string field or #immediate value
FName of string field or #immediate value


ResultA new string field containing each argument string joined together
NoteA minimum of 1 field or value is required




CTOD(A)
AName of string field


ResultAttempts to create a new discrete field, usally by having applied a filter to a continuous string.
NoteThe defaut discrete threshold is 300,000 unique values. This can be overriden in the JSON with the number key "MAX_ENTRIES". Ranging from >1024 to < 1,000,000




DATEFROMSTRING(A,B)
AName of string field
BDate format of string field


ResultProduce a date field from a date stored as string. 
NoteSupported Formats are YYYY-MM-DD YYYYMMDD MM-DD-YYYY MMDDYYYY DD-MM-YYYY and DDMMYYYY. See Programmed Field and Expressions for other format processing




EXTRACTJKEY(A,B,C)
AName of string field
BKey value
Crequired width of target field


ResultA new string field containing the value of the string for Key
NoteThe function will automatically replace single quoted key/value pairs with double quoted.




EXTRACTIJKEY(A,B)
AName of string field
BKey value


ResultA new integer field containing the value of the string for Key
NoteThe function will automatically replace single quoted key/value pairs with double quoted.




FIRSTPOPULATED(A,B,C,D,E,F)
AName of string field or #immediate value
BName of string field or #immediate value
CName of string field or #immediate value
DName of string field or #immediate value
EName of string field or #immediate value
FName of string field or #immediate value


ResultA new string field containing the value from the first field from A to F that is non null/empty
NoteA minimum of 1 field or value is required




LEFT(A,B)
AName of discrete string field
BNumber of characters


ResultA new string field containing up to the first B characters of field A




RIGHT(A,B)
AName of discrete string field
BNumber of characters


ResultA new string field containing up to the last B characters of field A




LEFTOF(A,B)
AName of discrete string field
BCharacter


ResultA new string field containing all characters to the left of the first occurrence of characters B




RIGHTOF(A,B)
AName of discrete string field
BCharacter


ResultA new string field containing all characters to the right of the first occurrence of characters B




LPAD(A,B,C)
AName of discrete string field
BSize of padding
CCharacter to pad


ResultA new string field containing the original string if B copies of character C prepended






REPLACE(A,B,C)
AName of discrete string field
BOriginal string
CReplacement string


ResultA new string field where all occurences of the string B are replace with the string C




WILDICAST(A)
AName of discrete or continuous string field


ResultA new integer field where containing valid integer values from the string field

Was this article helpful?

What's Next