apoc.text.format

Function

apoc.text.format(text String, params [Any], language String) - formats the given string with the given parameters.

Signature

apoc.text.format(text :: STRING?, params :: LIST? OF ANY?, language = en :: STRING?) :: (STRING?)

Input parameters

Name Type Default

text

STRING?

null

params

LIST? OF ANY?

null

language

STRING?

en

Usage Examples

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

"Neo4j Bloom"