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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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 (2)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

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

View solution in original post

2 Replies
tresB
Champion III
Champion III

Try like:

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

surajap123
Creator III
Creator III
Author

Thank  you so much