Replace Function

Results 1 to 2 of 2

Thread: Replace Function

  1. #1
    Join Date
    Dec 1969

    Default Replace Function

    Could some one tell me where I could find a detailed explanation of the replace function. Or could someone show me. I tried using this in my page<BR>&#060;% set textbox= request.form("article") %&#062;<BR>&#060;% replace(textbox, a, b) %&#062;<BR><BR>But I just get the error, Cannot use parentheses when calling a Sub. Please help. It would be really appreciated. An example would be even better.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Replace Function

    Think the problem is that you are not specifing where to store the string you just modified with the replace function.<BR><BR>try this:<BR>&#060;% textbox = replace(textbox, a, b) %&#062;<BR><BR>Hope this helps... Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts