length( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Finds the length of a string expression.

The length() method configures the aggregation pipeline to find the length of the specified expression.

Method Declaration
Copy
Method Parameters
expressionExpression

Expression to find the total number of characters of. Expression must resolve to a string.

Returns
Return Type:LengthExpression
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?