# Functions

## String Functions

* [`apply-codecs()`](https://sevenval.gitbook.io/flat/develop/reference/functions/apply-codecs)
* [`base64-decode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/base64-decode)
* [`base64-encode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/base64-encode)
* [`capitalize-first()`](https://sevenval.gitbook.io/flat/develop/reference/functions/capitalize-first)
* [`concat()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/concat)
* [`contains()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/contains)
* [`ends-with()`](https://sevenval.gitbook.io/flat/develop/reference/functions/ends-with)
* [`join()`](https://sevenval.gitbook.io/flat/develop/reference/functions/join)
* [`matches()`](https://sevenval.gitbook.io/flat/develop/reference/functions/matches)
* [`md5()`](https://sevenval.gitbook.io/flat/develop/reference/functions/md5)
* [`normalize-space()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/normalize-space)
* [`replace()`](https://sevenval.gitbook.io/flat/develop/reference/functions/replace)
* [`split()`](https://sevenval.gitbook.io/flat/develop/reference/functions/split)
* [`starts-with()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/starts-with)
* [`string()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/string)
* [`string-length()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/string-length)
* [`substring()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/substring)
* [`substring-after()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/substring-after)
* [`substring-before()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/substring-before)
* [`tolower()`](https://sevenval.gitbook.io/flat/develop/reference/functions/tolower)
* [`toupper()`](https://sevenval.gitbook.io/flat/develop/reference/functions/toupper)
* [`translate()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/translate)
* [`trim()`](https://sevenval.gitbook.io/flat/develop/reference/functions/trim)
* [`urldecode()`, `url-decode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/urldecode)
* [`urlencode()`, `url-encode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/urlencode)

## JSON Functions

* [`json-doc()`](https://sevenval.gitbook.io/flat/develop/reference/functions/json-doc)
* [`json-parse()`](https://sevenval.gitbook.io/flat/develop/reference/functions/json-parse)
* [`json-stringify()`](https://sevenval.gitbook.io/flat/develop/reference/functions/json-stringify)
* [`json-to-csv()`](https://sevenval.gitbook.io/flat/develop/reference/functions/json-to-csv)
* [`json-to-xml()`](https://sevenval.gitbook.io/flat/develop/reference/functions/json-to-xml)
* [`jwt-decode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/jwt-decode)
* [`jwt-encode()`](https://sevenval.gitbook.io/flat/develop/reference/functions/jwt-encode)
* [`xml-to-json()`](https://sevenval.gitbook.io/flat/develop/reference/functions/xml-to-json)

## Array Functions

* [`array()`](https://sevenval.gitbook.io/flat/develop/reference/functions/array)
* [`array-reverse()`](https://sevenval.gitbook.io/flat/develop/reference/functions/array-reverse)
* [`sort()`](https://sevenval.gitbook.io/flat/develop/reference/functions/sort)

## Boolean Functions

* [`boolean()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/boolean)
* [`false()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/false)
* [`not()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/not)
* [`true()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/true)

## Math Functions

* [`ceiling()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/ceiling)
* [`floor()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/floor)
* [`number()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/number)
* [`round()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/round)
* [`sum()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/sum)

## Date Functions

* [`unixtime()`](https://sevenval.gitbook.io/flat/develop/reference/functions/unixtime)

## Encryption and Signature Functions

* [`calc-signature`](https://sevenval.gitbook.io/flat/develop/reference/functions/calc-signature)
* [`decrypt`](https://sevenval.gitbook.io/flat/develop/reference/functions/decrypt)
* [`decrypt-xml`](https://sevenval.gitbook.io/flat/develop/reference/functions/decrypt-xml)
* [`encrypt`](https://sevenval.gitbook.io/flat/develop/reference/functions/encrypt)
* [`verify-signature`](https://sevenval.gitbook.io/flat/develop/reference/functions/verify-signature)
* [`verify-xmldsig`](https://sevenval.gitbook.io/flat/develop/reference/functions/verify-xmldsig)

## Other Functions

* [`body()`](https://sevenval.gitbook.io/flat/develop/reference/functions/body)
* [`content()`](https://sevenval.gitbook.io/flat/develop/reference/functions/content)
* [`count()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/count)
* [`file-exists()`](https://sevenval.gitbook.io/flat/develop/reference/functions/file-exists)
* [`fit-document()`](https://sevenval.gitbook.io/flat/develop/reference/functions/fit-document)
* [`fit-log()`](https://sevenval.gitbook.io/flat/develop/reference/functions/fit-log)
* [`fit-serialize()`](https://sevenval.gitbook.io/flat/develop/reference/functions/fit-serialize)
* [`get-log()`](https://sevenval.gitbook.io/flat/develop/reference/functions/get-log)
* [`has-class()`](https://sevenval.gitbook.io/flat/develop/reference/functions/has-class)
* [`html-parse()`](https://sevenval.gitbook.io/flat/develop/reference/functions/html-parse)
* [`id()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/id)
* [`ldap-lookup()`](https://sevenval.gitbook.io/flat/develop/reference/functions/ldap-lookup)
* [`ldap-query()`](https://sevenval.gitbook.io/flat/develop/reference/functions/ldap-query)
* [`lang()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/lang)
* [`last()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/last)
* [`local-name()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/local-name)
* [`lookup()`](https://sevenval.gitbook.io/flat/develop/reference/functions/lookup)
* [`name()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/name)
* [`namespace-uri()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/namespace-uri)
* [`position()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/position)
* [`uuid3()` and `uuid4()`](https://sevenval.gitbook.io/flat/develop/reference/functions/uuid)
* [`xml-parse()`](https://sevenval.gitbook.io/flat/develop/reference/functions/xml-parse)
