|| apoc.text.repeat - APOC 核心文档 - Neo4j 文档

apoc.text.repeat

详情

语法

apoc.text.repeat(item, count)

描述

返回给定项目重复给定次数后的结果。

参数

名称

类型

描述

item

字符串

要重复的字符串。

count

整数

重复给定字符串的次数。

返回值

字符串

使用示例

RETURN apoc.text.repeat('item', 5) AS output;
结果
输出

"itemitemitemitemitem"

© . This site is unofficial and not affiliated with Neo4j, Inc.