# URL\_DECODE

解碼給定的 URL 編碼值。

此函數是 [`URL_ENCODE`](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Lakehouse/TransformationFunctions/url/url_encode.htm) 的反函數。

url\_decode(*value*) → varchar

取消逸出 URL 編碼的 `value`。此函數是 [`url_encode()`](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Lakehouse/TransformationFunctions/url/url_encode.htm) 的反函數。

## 語法

```
URL_DECODE(VALUE)
```

## 引數

#### VALUE

類型： `string`

URL 編碼值。

## 傳回

類型：`string`

已解碼的 `VALUE`。

***

## 範例

```
SELECT url_decode("The+quick+brown+fox") = "The quick brown fox" AND url_decode("Comment+%235") = "Comment #5" AND url_decode('%26%24%23_line_%21123') = "&$#line!123" AND url_decode('') = '' AND url_decode("word%2Bword++word") = "word+word word""
```

| VALUE | 輸出 |
| --- | --- |
| The+quick+brown+fox | 敏捷的棕色狐狸 |
| 註解+%235 | 註解 #5 |
| %26%24%23\_line\_%21123 | &$#\_line\_!123 |
| `''` | `''` |
| 字%2B字++字 | 字+字 字 |