URI.encode

This %<!-- -->-encodes the given URI part and returns the escaped version in allocated memory, which the caller must free when it is done.

class URI
static
string
encode
(
string part
,)

Parameters

part string

a URI part

escapeExtra string

additional reserved characters to escape (or %NULL)

Return Value

Type: string

the encoded URI part

Meta