| Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_RAW , 10 of 22
This function returns len bytes, starting at pos from RAW r.
UTL_RAW.SUBSTR ( r IN RAW, pos IN BINARY_INTEGER, len IN BINARY_INTEGER DEFAULT NULL) RETURN RAW;
pragma restrict_references(substr, WNDS, RNDS, WNPS, RNPS);
If pos is positive, then SUBSTR counts from the beginning of r to find the first byte. If pos is negative, then SUBSTR counts backwards from the end of the r. The value pos cannot be 0.
If len is omitted, then SUBSTR returns all bytes to the end of r. The value len cannot be less than 1.
| Parameter | Description |
|---|---|
r |
The |
pos |
The byte position in |
len |
The number of bytes from |
| Optional Parameter | Description |
|---|---|
len |
Position |
| Return | Description |
|---|---|
portion of r |
Beginning at |
NULL |
|
| Error | Description |
|---|---|
VALUE_ERROR |
Either |
|
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|