apoc.text.format

Function APOC Core

apoc.text.format(text,[params],language) - sprintf format the string with the params given

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"