apoc.text.format

Details

Syntax

apoc.text.format(text, params [, language ])

Description

Formats the given STRING with the given parameters.

Arguments

Name

Type

Description

text

STRING

The format string.

params

LIST<ANY>

Arguments referenced by the format specifiers in the format string.

language

STRING

An ISO 639 alpha-2 or alpha-3 language code, or a language subtag up to 8 characters in length. The default is: en.

Returns

STRING

Usage Examples

RETURN apoc.text.format("Neo4j %s", ["Bloom"]) AS output;
Results
output

"Neo4j Bloom"