Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

strlen #

Returns the length of a value.

[Redis documentation]


Query Syntax #

HTTP #

URL: http://kuzzle:7512/ms/_strlen/<_id>
Method: GET

Other protocols #

{
  "controller": "ms",
  "action": "strlen",
  "_id": "<key>"
}

Arguments #

  • _id: key identifier holding a string value

Response #

Returns a string length.

{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "strlen",
  "collection": null,
  "index": null,
  "result": 6
}