Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How we remove Quotes for a Numeric ' 00851'

rohit782192
11 - Bolide

Hello ,

 

I have a number  '00851'  How we remove these Quotes.

 

Note the file is a CSV files.

4 REPLIES 4
DataNath
17 - Castor
17 - Castor

If you use Replace([Field], “‘“, “”)

 

Does that help?

rohit782192
11 - Bolide

I want to remove. 

 

What should be in replacement.

 

Replace([Train No.], ' ', " ")
ReplaceFirst(String, Target, Replacement)

DataNath
17 - Castor
17 - Castor

If this field should only contain numbers, you can also just drag on the Data Cleanse tool, tick the field(s) you want to apply it to and select the option to remove punctuation in the configuration.

DataNath
17 - Castor
17 - Castor

Would be Replace([Train No.], “‘“, “”)

 

Although this is a replace function, the fact that you aren’t putting anything between the last 2 quotes as a replacement means the ‘ will be replaced by nothing I.e. just removed. You’ll need to use double quotes around your ‘ so should be able to just copy and paste what I’ve posted above.

Labels
Top Solution Authors