企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
## strlen ##### *Description* Get the length of a string value. 返回字符串的长度。 ##### *Parameters* *key* ##### *Return value* *INTEGER* ##### *Example* ``` <pre class="calibre16">$redis->set('key', 'value'); $redis->strlen('key'); /* 5 */ ``` ##