Solved

VBScript help.  Find dollar sign and remove.

Posted on 2010-09-24
2
1,271 Views
Last Modified: 2012-05-10
I have a classic ASP application that uses VB Script and I need help with something.

I have a database value that is stored as a string variable.  The value may or may not contain a dollar sign ($).  Could someone provide me with a script that could seach the string value for the dollar sign and remove it?

Thanks!
0
Comment
Question by:cdemott33
2 Comments
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
ID: 33755690
Replace(<your string>,"$","")
0
 
LVL 12

Expert Comment

by:Anuradha Goli
ID: 33755758
Replace$(string,"$","")
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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