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

Find text strings that either start or end with double quotes

mlevitan
5 - Atom

I'm trying to find text strings that either start or end with double quotes. No luck using single quotes around the double quote using the findstring function (FINDSTRING([string],' " ').

4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus

@mlevitan,

 

left([Field1],2) == '""'
OR
right([Field1],2) == '""'

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
mlevitan
5 - Atom

Thanks for the response. Unfortunately, I'm still getting the same result (zero), which I suspect means that Alteryx doesn't pick up the double quotes in the Left or Right formula.

 

I imported this file from MS Excel from a copy / paste from Word, so might that have something to do with them not being recognized?

MarqueeCrew
20 - Arcturus
20 - Arcturus

I did test that formula and it does work.  It is possible that the character set for the quotes are "smart" or "curly".  Can you post some sample data?

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
mlevitan
5 - Atom

The source data had open and close characters rather than double quotes, which was why Alteryx wasn't able to pick them up. I changed the source data and it now works.

 

Thanks for the help.

Labels
Top Solution Authors