STRCONV()

Top  Previous  Next

Converts strings between various representations.

Syntax

STRCONV( cExpression, nConversionType )

Parameters

cExpression

String that is converted according to the nConversionType parameter.

 

nConversionType

A numeric value indicating the conversion to be performed

 

Value

Description

17

Url encodes the string. This encoding is used in web addresses and when posting form data to a server. The string is converted according to RFC 2396.

18

Decodes a url encoded string.

Return value

Returns the converted string.

Remarks

For url encoding (type 17 and 18) the string can have a maximum length of 32766 characters.

See also

SYS(8009) - HTTP data transfer