strlen

Returns the length of a value.

[Redis documentation]


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/ms/_strlen/<_id>
Method: GET

Other protocols

Copied to clipboard!
{
  "controller": "ms",
  "action": "strlen",
  "_id": "<key>"
}

Arguments

  • _id: key identifier holding a string value

Response

Returns a string length.

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