Skip to Main Content

APEX

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!

How to remove extra space before/after & between Pagaraph for TEXTAREA

DeepakJMay 15 2016 — edited May 15 2016

I have a text area with multiple paragraphs.

- is there a way to remove any extra space before paragraph starts and after a paragraph ends.

- is there a way to remove multiple enter / space between 2 paragraphs. I need only one enter between paragraphs.

P1 - This is correct, there is no space after last word 'test2' and also there is no space before the first word ‘This’

P2 - This is incorrect as there is one space (or more) after last word 'test4.'

P3 - This is incorrect as there is one space (or more) before the first word ‘This’.

P4 - This is correct as there is only one space / enter between paragraph 3 and 4.

P5  - This is incorrect as there is more than one space / enter between paragraph 4 and 5.


Example

----------------------------------------------------

{code}

This is a test1. This is a test2.

This is a test3. This is a test4

  This is a test5. This is a test6.

This is a test7. This is a test8.

This is a test9. This is a test10.

{code}

----------------------------------------------------

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2016
Added on May 15 2016
4 comments
1,172 views