Skip to content

$encodeURI

Encodes a string to URL format.

Parameters

NameDescriptionEnforcedDefault Value
TextThe text to be encoded.YesNone

Example

$encodeURI[text]

Function Aliases

  • $encodeURIComponent