ESCAPE_SC v16

This function and procedure replaces characters that have special meaning in HTML with their escape sequences. The following characters are converted:

  • & to &
  • "" to &quot:
  • < to &lt;
  • > to &gt;

Syntax

The following is the syntax for HTP:

HTP.ESCAPE_SC(ctext IN VARCHAR2);

The following is the syntax for HTF:

HTF.ESCAPE_SC(ctext in VARCHAR2) RETURN VARCHAR2;

Parameters

ParameterPurpose
ctextThe string to convert