trim space or blank in between

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

trim space or blank in between

Post by harryhome »

I have couple of char columns in source which are concatenated in source stage. So in next stage I have a transformer where the result data type is changed from char to varchar.
Next there is one more transformer, where this varchar result column has inbetween spaces, how to remove these inbetween space?
bob7027
Participant
Posts: 22
Joined: Wed Oct 03, 2012 2:49 pm
Location: United States

Re: trim space or blank in between

Post by bob7027 »

StripWhiteSpace function in transformer

or CompactWhiteSpace try this
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

"inbetween spaces"? Pretty vague. :?

How about some before and after examples so we have some confidence that the right question is being answered.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply