See Built-in functions in the docs.

… call from within expressions to transform and combine values

Numeric

  • abs
  • ceil
  • floor
  • log
  • max
  • min
  • parseint
  • pow
  • signum
> max(5, 12, 9)
12

String functions

  • chomp
  • format
  • formatlist
  • indent
  • join
  • lower
  • regex
  • regexall
  • replace
  • split
  • strrev
  • substr
  • title
  • trim
  • trimprefix
  • trimsuffix
  • trimspace
  • upper

Using the regex function in the console:

> regex("www.(.+)", "www.foo.com")
[
  "foo.com",
]

Using join:

> join(", ", ["ABC", "DEF", "GHI" ])
"ABC, DEF, GHI"

Timestamp

Timestamp docs.

> timestamp()
2018-05-13T07:44:12Z
{
  foo = "bazz"  
  bar = timestamp()
}