apoc.text.format

Function

apoc.text.format(text STRING, params LIST<ANY>, language STRING) - formats the given STRING with the given parameters.

Signature

apoc.text.format(text :: STRING, params :: LIST<ANY>, language = en :: STRING) :: STRING

Input parameters

Name Type Default

text

STRING

null

params

LIST<ANY>

null

language

STRING

en

Usage Examples

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

"Neo4j Bloom"