Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

string.concat()

Concatenate two Strings.

Signature

concat(other: String) => String

Description

Concatenates two provided Strings. This method is equivalent to using the + operator with String operands.

The input Strings aren’t modified.

Parameters

Parameter Type Required Description

other

String

true

String to concatenate to the calling String.

Return value

Type Description

String

The resulting concatenated String.

Examples

Concatenate the calling String with the String "SUCCESS":

"HTTP/1.1 200 OK".concat(" SUCCESS")
"HTTP/1.1 200 OK SUCCESS"

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!