Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator II
Creator II

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 II
Creator II
Author

Thank  you so much