Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Indent the second line of a long string

555742Jul 18 2007 — edited Jul 19 2007

I have a field that contains a string, up to 1000 characters long. I would like to create a hanging indent anytime the field wraps to a new line.

For example, my report now displays this:

This line of reporting takes only one line to display.
This line of reporting takes only one line to display.
This line of reporting takes only one line to display.
This line of reporting takes two lines to display.  Because 
of its length, it is sometimes hard to distinguish it 
from rows that contain only a single line of text.
This line of reporting takes only one line to display.

Hopefully, you can tell that this contains 5 rows of data, but one of the lines is long enough to expand down. I would like the results to look like this...

This line of reporting takes only one line to display.
This line of reporting takes only one line to display.
This line of reporting takes only one line to display.
This line of reporting takes two lines to display.  Because 
   of its length, it is sometimes hard to distinguish it 
   from rows that contain only a single line of text.
This line of reporting takes only one line to display.

Has anyone found a solution, or a work around that displays similar results?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2007
Added on Jul 18 2007
3 comments
497 views