Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ray0801
Creator
Creator

how to replace ". " in a string?

So i have a String column A

Column A

98,00

10,000.98

I need to remove "," (comma)and "." (dot)from the values from the data.

For ","

(comma)

Ereplace is working as expected (StringHandling.EREPLACE(row1.A,","," ")

But For

"." (dot) (StringHandling.EREPLACE(row1.A,"."," ") is giving me null output for the above data.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Try this expression:

(row1.A.replaceAll("\\.", "")).replaceAll(",", "")

 

Regards

Shong

View solution in original post

2 Replies
Anonymous
Not applicable

Hi

Try this expression:

(row1.A.replaceAll("\\.", "")).replaceAll(",", "")

 

Regards

Shong

Ray0801
Creator
Creator
Author

Thanks @Shicong Hong​ ,it works