apoc.text.urlencode

详细信息

语法

apoc.text.urlencode(text)

描述

对给定的 STRING 进行 URL 编码。

参数

名称

类型

描述

文本 (text)

STRING

要进行 URL 编码的字符串。

返回

STRING

用法示例

RETURN apoc.text.urlencode("Neo4j Aura") AS output;
结果
输出

"Neo4j+Aura"

RETURN apoc.text.urlencode("GRANDstack: Build Fullstack GraphQL Applications With Ease") AS output;
结果
输出

"GRANDstack%3A+Build+Fullstack+GraphQL+Applications+With+Ease"