|
Sybernet / Supplied Functions Reference
Release 3.00 Oct 14, 2002 |
|
This function returns a string with the indicated number of single-byte spaces.
FUNCTION SPACE
(
N NUMBER
)
RETURN VARCHAR2;
| Parameter | Description |
|---|---|
n |
The number of spaces. |
A string of spaces.
The following example illustrates how to call space.
declare
var varchar2(30) := 'HelloWorld';
begin
http.write(http.space(30-lengthb(var)) || var);
end;
------------------------------
HelloWorld