Text.DecodeURLComponent
-----------------------

Decodes an URL component.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Text](component_Text.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Text.DecodeURLComponent"; Text ) 

**MBS**( **"Text.DecodeURLComponent";** /\* Decodes an URL component. \*/  
**$Text**) /\* The text to decode.e.g. $URL \*/ 

(old name: String.DecodeURLComponent)

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The text to decode. | $URL |

### Result

Returns encoded string.

### Description

Decodes an URL component.  
### Examples

Decode an URL:

 MBS ("Text.DecodeURLComponent"; "http%3A%2F%2Fwww%2Embsplugins%2Ede")  
<small>  
Example result: http://www.mbsplugins.de</small>Decode emoji:

 MBS ( "Text.DecodeURLComponent"; "%F0%9F%8D%8E%20%F0%9F%8D%93%20%F0%9F%8D%92"; "UTF-8" )  
<small>  
Example result: 🍎 🍓 🍒</small>### See also

- [Text.EncodeURLComponent](TextEncodeURLComponent.md)

### Blog Entries

- [MBS Filemaker Plugin, version 3.2pr7](https://www.mbsplugins.de/archive/2013-04-16/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 31st January 2023

  
[Text.DecodeIMAPFolderName](TextDecodeIMAPFolderName.md) - [Text.Deserialize](TextDeserialize.md)

[HTML Version](TextDecodeURLComponent.shtml)