[strings.length]

strings.length is a slot in the strings namespace, in Hyperlambda, the language of Magic Cloud. Returns the length of a string.

  • Value (text), required: Text to measure
  • Returns: Resolves to the number of characters in the string

Guide: How to use [strings.length]

JSON declaration

This is the complete declaration of strings.length, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "strings.length",
  "description": "Returns the length of a string",
  "signature": {
    "input": {
      "kind": "text",
      "description": "Text to measure",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "integer,number",
      "description": "Resolves to the number of characters in the string"
    }
  }
}

← strings.join all strings.* slots strings.matches →