Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How do I get rid of trailing blank spaces?
Go
New
Search
Notify
Tools
Reply
  
How do I get rid of trailing blank spaces?
 Login/Join
 
<matty@time>
posted
Could have sworn there was a Function or Subroutine for this, but I cant seem to find it.

Better yet, anyone know how to get a comma delimited file WITHOUT the annoying " " around all your data?

Thanks
 
Reply With QuoteReport This Post
Virtuoso
posted Hide Post
What verison of FOCUS or WebFOCUS are you using? In what context are you trying to trim trailing blanks? In a MODIFY, MAINTAIN, or TABLE? In a HEADER or a COMPUTE? In an & variable? Need more info to help you better. Cool
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
hey matt! good to "see" you on fp.
do you mean just the edit soft concat
DEFINE NEWNAME/A32='''' |OLDNAME || '''';
or the TRIM command (using func manual page 4-44)
which can trim from both front and back of a string.
NENAME/A32=TRIM('T',OLDNAME,32,' ',1,NEWNAME);
There's TRIM, STRIP, and SQUEEZ-- all totally great new functions.

and do you mean how to create a csv in another app to be read into wf?? exporting as a csv from excel xp doesn't put quotes around alpha strings.
there are several newer export as csv formats in excel xp. take the first one on the list.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How do I get rid of trailing blank spaces?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.