# Functions

## String Functions

* [`apply-codecs()`](https://sevenval.gitbook.io/flat/reference/functions/apply-codecs)
* [`base64-decode()`](https://sevenval.gitbook.io/flat/reference/functions/base64-decode)
* [`base64-encode()`](https://sevenval.gitbook.io/flat/reference/functions/base64-encode)
* [`capitalize-first()`](https://sevenval.gitbook.io/flat/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/reference/functions/ends-with)
* [`join()`](https://sevenval.gitbook.io/flat/reference/functions/join)
* [`matches()`](https://sevenval.gitbook.io/flat/reference/functions/matches)
* [`md5()`](https://sevenval.gitbook.io/flat/reference/functions/md5)
* [`normalize-space()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/normalize-space)
* [`replace()`](https://sevenval.gitbook.io/flat/reference/functions/replace)
* [`split()`](https://sevenval.gitbook.io/flat/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/reference/functions/tolower)
* [`toupper()`](https://sevenval.gitbook.io/flat/reference/functions/toupper)
* [`translate()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/translate)
* [`trim()`](https://sevenval.gitbook.io/flat/reference/functions/trim)
* [`urldecode()`, `url-decode()`](https://sevenval.gitbook.io/flat/reference/functions/urldecode)
* [`urlencode()`, `url-encode()`](https://sevenval.gitbook.io/flat/reference/functions/urlencode)

## JSON Functions

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

## Array Functions

* [`array()`](https://sevenval.gitbook.io/flat/reference/functions/array)
* [`array-reverse()`](https://sevenval.gitbook.io/flat/reference/functions/array-reverse)
* [`sort()`](https://sevenval.gitbook.io/flat/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/reference/functions/unixtime)

## Encryption and Signature Functions

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

## Other Functions

* [`body()`](https://sevenval.gitbook.io/flat/reference/functions/body)
* [`content()`](https://sevenval.gitbook.io/flat/reference/functions/content)
* [`count()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/count)
* [`file-exists()`](https://sevenval.gitbook.io/flat/reference/functions/file-exists)
* [`fit-document()`](https://sevenval.gitbook.io/flat/reference/functions/fit-document)
* [`fit-log()`](https://sevenval.gitbook.io/flat/reference/functions/fit-log)
* [`fit-serialize()`](https://sevenval.gitbook.io/flat/reference/functions/fit-serialize)
* [`get-log()`](https://sevenval.gitbook.io/flat/reference/functions/get-log)
* [`has-class()`](https://sevenval.gitbook.io/flat/reference/functions/has-class)
* [`html-parse()`](https://sevenval.gitbook.io/flat/reference/functions/html-parse)
* [`id()` ↗](https://developer.mozilla.org/en-US/docs/web/XPath/Functions/id)
* [`ldap-lookup()`](https://sevenval.gitbook.io/flat/reference/functions/ldap-lookup)
* [`ldap-query()`](https://sevenval.gitbook.io/flat/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/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/reference/functions/uuid)
* [`xml-parse()`](https://sevenval.gitbook.io/flat/reference/functions/xml-parse)
