Jump to content

Replace em dash and en dash and hyphens


Recommended Posts

Need to perform a StringReplace of the em dash and en dash to strip them from web content pages.

 

Em dash character is not a part of the ASCII character set.  So if I copy and paste an em dash into SciTE it merely appears as a hyphen and therefore no search results.

So instead of seeing:  StringReplace($TtextClean, "—", "   ") it looks like this: For example: StringReplace($TtextClean, "-", "   ") appears correctly on the webpage.

Any suggestions, please?

Thank you.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...