Solved

VBScript help.  Find dollar sign and remove.

Posted on 2010-09-24
2
1,252 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now