Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Remove blank lines from text field.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Remove blank lines from text field.
 Login/Join
 
Member
posted
I am wondering if it is possible to remove blank lines from a text field. I have a report that has descriptions for tickets and some of those tickets are unnecessarily long due to multiple blank lines being add by the user.

This is an example of what it currently looks like.
 
This is the description field.


It has unnecessary blank lines.


Making for a longer report.


This is what I would like it to look like.

 
This is the description field.
It has unnecessary blank lines.
Making for a longer report.
 


I'm using EXL2K as the format of the report.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report This Post
Platinum Member
posted Hide Post
Well, I am guessing on this one, but in my experience "extra lines" in a text field have often been just a case of the user hitting the key too often. This will leave extra CR (carriage return) and LF (line feed) characters. If this indeed the case you should be able to use the POSIT function to locate the extras and then I would try using the CTRAN / STRIP functions to strip out the extra CR (carriage return) and LF (line feed) characters by changing them to spaces.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Member
posted Hide Post
quote:
Originally posted by rfbowley:
Well, I am guessing on this one, but in my experience "extra lines" in a text field have often been just a case of the user hitting the key too often. This will leave extra CR (carriage return) and LF (line feed) characters. If this indeed the case you should be able to use the POSIT function to locate the extras and then I would try using the CTRAN / STRIP functions to strip out the extra CR (carriage return) and LF (line feed) characters by changing them to spaces.

Thanks, I'll look in to it.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Remove blank lines from text field.

Copyright © 1996-2020 Information Builders