FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. For more details, review the migration guide. Contact support@fauna.com with any questions. |
Concat
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Concat( value, [ separator ] )
concat( value, [ separator ] )
Concat( value, [ separator ] )
Concat( value, [ separator ] )
Concat( value, [ separator ] )
Description
The Concat
function returns a string which has joined a list of
strings into a single string.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
Array of Strings |
An array of strings to join. |
|
String |
Optional - This value is placed between each joined string. Default is an empty string (""). |
Examples
The following query takes an array of Strings containing "Hen" and "Wen"
as its first argument and a separator of a space (" ") as its second
argument. The result of the Concat
operation is "Hen Wen".
Hen Wen
Hen Wen
Hen Wen
StringV(Hen Wen)
'Hen Wen'
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!