Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VBScript help.  Find dollar sign and remove.

Posted on 2010-09-24
2
Medium Priority
?
1,383 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 2000 total points
ID: 33755690
Replace(<your string>,"$","")
0
 
LVL 12

Expert Comment

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

916 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