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.length

Get a String's length.

Signature

<String>.length: Number

Description

Returns the calling String's length.

The length of an empty String is 0.

Return value

Type Description

Int

Number of characters in the calling String.

Examples

Get the length of a String:

"HTTP/1.1 200 OK".length
15

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!