We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Single quote from Input excel cell value changed as Question Mark after using it formula

Parthasarathi
8 - Asteroid

HI All,

 

I am getting few string from a excel sheet and trying to convert to a different column. This is working fine and when I have a single quote in the input string that is changed ? in the output. 

 

In the formula tool I have tried the below

 

 

if(Contains(ToString([Username]),CharFromInt(39))) then
ToString(""+ ToString([Username])+"")
else
ToString(""+ ToString([Username])+"")
EndIf

 

 

Sample input: M’User Services 

Current output: M?User Services 

 

Expected output: M’User Services 

1 REPLY 1
PhilipMannering
16 - Nebula
16 - Nebula

Does this work?

 

 

replacechar([Username], '’?', "’")

 

 

 

This will replace all ’ and ? with an apostrophe.

Labels
Top Solution Authors