Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gidon500
Creator II
Creator II

remove of change a character from string

Hi guy

I need to remove or change a character   '-'   from  a string ,

In case of change '-' to 'X'

input

Field

Z100-100

Z200-300

output

filedRemove

Z100100

Z200300

FieldChange

Z100X100

Z200X300

any easy way to do it

thanks

gidon

1 Solution

Accepted Solutions
maxgro
MVP
MVP

replace(field, '-', '')

replace(field, '-', 'X')

View solution in original post

2 Replies
maxgro
MVP
MVP

replace(field, '-', '')

replace(field, '-', 'X')

gidon500
Creator II
Creator II
Author

thanks

gidon