Solved

How do I remove special characters in a string using vbscript?

Posted on 2007-11-15
2
8,166 Views
Last Modified: 2012-05-05
Hello-  What is a proper vbscript for checking a string for special characters (all I care to delete is "-") and removing it from the string?

Thanks
0
Comment
Question by:JoshinHtown
2 Comments
 
LVL 33

Accepted Solution

by:
Jeroen Rosink earned 50 total points
ID: 20292547
perhaps this work
YOURSTRING= Replace(YOURSTRING, "-", "")

Jeroen
0
 

Author Comment

by:JoshinHtown
ID: 20292578
Thanks..
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question