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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

Remove special characters around the string

Hi There,

I wanted to remove $ character in the below string. The $ character within the string represent space.
When I use purgechar() function it is removing $ across the string which is good, but I want to keep the space within the string.

$London$city$

Table:
LOAD * INLINE [
purgechar(field,'$') as field
];

 

eg- 
from-
$London$city$

to-
London city

 

Please help

Labels (1)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Trim(replace(field '$', ' ')) as Field

View solution in original post

2 Replies
tresesco
MVP
MVP

Try like:

Trim(replace(field '$', ' ')) as Field

surajap123
Creator III
Creator III
Author

Thank  you so much