value
The blocks in the value group of value. If you run an older core, some of them may not be available to you yet.
- validate against whitelist
valuev14.0.3Matches the input against a whitelist by string representation and returns the matching whitelist entry (in its original type), or the fallback when nothing matches - simple normalize
valuev10.4.28Transliterates German umlauts and sharp-s (ae/oe/ue/ss), then replaces whitespace and every character outside letters, digits, underscore and hyphen. Underscore and hyphen are kept - template value
valuev10.4.28Renders the given template using mustache. - binary value
valuev14.0.4Converts a boolean/condition to a value (1 for true, 0 for false). - get length
numberv10.4.28value contains the length of the string in UTF-16 code units - unescape
valuev11.0.1Converts the HTML entities &, <, >, ", and ' in string to their corresponding characters. - generate shortid
valuev10.4.28 - decode uri component
valuev13.0.7Decodes a URI by replacing URI safe characters with normal characters. - generate random string
valuev15.0.0Generates a cryptographically random string from an alphabet you choose. Use it for human-facing codes (claim, invite, voucher) where the alphabet has to exclude lookalike characters. Every character of the alphabet is equally likely. - rgb to hex
conditionv12.0.6Converts rgb color codes into hex - decode uri
valuev13.0.7Decodes a URI by replacing URI safe characters with normal characters. - remove special chars
valuev10.4.28Returns the value with accents stripped. Only combining diacritical marks are removed - punctuation and symbols are kept - split
arrayv13.0.8takes a pattern and divides this string into an ordered list of substrings by searching for the pattern, puts these substrings into an array, and returns the array - extract domain from email
conditionv14.0.4Extracts the domain part from an email address (the part after @) - locale compare
numberv10.4.28 - format number
valuev10.4.28 - replace
valuev10.4.28Returns a new value with one, some, or all matches of a pattern replaced by a replacement - trim
valuev10.4.28Removes characters from both ends of a string - escape
valuev11.0.1Converts the characters "&", "<", ">", '"', and "'" in string to their corresponding HTML entities. - generate uuid
valuev12.0.4Generates a random universally unique identifier according to the RFC 4122 - encode uri
valuev10.4.28Encodes a URI by replacing specific characters with URI safe characters. - switch
valuev10.4.28Returns a value based of the given expression. - javascript type
valuev12.0.4Returns the JS-engine type of a given value - index of
numberv10.4.28Finds the given value in its value. - generate guid
valuev14.0.4Generates a unique GUID. When a seed is provided, the GUID is deterministic (same seed always produces the same GUID) — the sha256 of the seed, the same derivation the document blocks apply to theirguid_seedpin. Wire this output into verbatimguidpins (get / update / remove) to address seed-created documents. Never wire it into aguid_seedpin: that would hash the already-hashed value again and address a different document — giveguid_seedpins the raw seed instead. - convert to uppercase
valuev10.4.28 - hex to rgb
conditionv12.0.6Converts a hex color code into rgb/a - convert to lowercase
valuev10.4.28 - current language
valuev13.0.4Returns the current language. - encode uri component
valuev10.4.28Encodes a URI by replacing specific characters with URI safe characters. - capitalize first letter
valuev10.4.28 - sanitize html
valuev10.4.28Sanitizes the given html - html to text
valuev15.0.2Turns HTML into one line of plain text: tags removed, every HTML entity decoded and whitespace collapsed. Set max length to cut the text on a word boundary.
value Every block in this main group.