Oracle Error PLS-01917: illegal reference to package STANDARD item ‘string’

Oracle Error Message

PLS-01917: illegal reference to package STANDARD item ‘string’

Reason for the Error

The item is intended for internal use and must not be referred to in user code.

Solution

Remove the reference and use syntax that provides the necessary functionality.