Remove the qotes

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Poonam Singh
Participant
Posts: 5
Joined: Wed Aug 16, 2006 10:58 am

Remove the qotes

Post by Poonam Singh »

Hi,

I have one character column name xyz in which I have some characters with quotes. I need to get rid or the quotes.
Please help me out.
example
xyz
UBIT "O"

3144 N "G"

XUDM "XU"

I want the result like that
UBIT O

3144 N G

XUDM XU
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Welcome to DSXChange. You will find you get quicker answers when you post in the correct forum. You can use the TRIM function to do this, with TRIM(In.ColumnName,'"','A') or CONVERT('"','',In.ColumnName)
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Code: Select all

Trim(InputLink.ColumnName, '"', 'A')
Notice that you need to enclose the quote character in single quotes.
Kris

Where's the "Any" key?-Homer Simpson
Post Reply