I am wondering if there are any tricks to get trimspool to only trim trailing spaces to the right.
I have code that uses dbms_output.put_line to print to the console, and there is often indentation in the output to make eye scanning easier. I set the line width to be quite large to make the output part easier to read, so I also set trimspool to get rid of the extra space. The only problem is that now the leading space is deleted just like trailing spaces. Is there any way to fix this? I could add a leading (before leading space) character " . " In some of the output statements, but I am not allowed to change the code in most packages.
Here it is output without trimmimg:
level 1 (EOL)
level 2 (EOL)
Some data (EOL)
Here it outputs with trimspool on:
level 1 (EOL)
level 2 (EOL)
Some data (EOL)
Here is what I want:
level 1 (EOL)
level 2 (EOL)
Some data (EOL)
oracle sqlplus
FrustratedWithFormsDesigner
source share