跳至主要内容

Uri.EscapeDataString

依據 RFC 3986 將特殊字元編碼。

Syntax​

Uri.EscapeDataString(
data as text
) as text

Remarks​

依據 RFC 3986 將輸入 data 中的特殊字元編碼。

Examples​

Example #1​

將 "+money$" 中的特殊字元編碼。

Uri.EscapeDataString("+money$")

Result:

"%2Bmoney%24"

Category​

Uri