How to replace big hyphen with a simple hyphen

Hi guys,

I am trying to replace a big hyphen(as displayed in the pic) to a small hyphen(subtract sign).
But for some reason can’t give a big hyphen in my replace syntax.
My syntax is var.replace("","-")
Below is the image of the value of my variable,

Try with expression
var.Replace(“—“,”-“)
That is type hyphen two times which will give us the bigger one
Cheers @diptojyotidutta

thanks it works. but when i type hyphen two times it gets typed like “–”. That is not in continuous. that is where i faced problem.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.