Ext.EncodeURL()

Escapes special character values in a URL string.

Function Signature

 string Ext.EncodeURL( urlString )

Parameters

Parameter Type Description

urlString

string

The text that may have characters that need to be escaped.

Return

Type Description

string

The URL-encoded version of the string urlString.

Technical Details

SBM ModScript version: 11.3.

Notes

For example, & is converted to %26. To convert hex-encoded sequences to ASCII equivalents, use Ext.UnencodeURL().

Related Topics

Extension Functions