If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > replace function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-05, 14:48
-Dman100- -Dman100- is offline
Registered User
 
Join Date: Jan 2004
Posts: 124
replace function

I'm trying to replace the pipe character with a null value? I'm using the following:

Replace(Request("strategyA"), "|", "")

This isn't working?

Is my syntax incorrect?

Any help is appreciated. Thank you.

-D-
Reply With Quote
  #2 (permalink)  
Old 02-03-05, 22:51
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Syntax looks right. What is the result you are getting back?? You are assigning it to something right eg
Code:
strReplaced = Replace(Request("strategyA"), "|", "")
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On