replace command

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Danny

    replace command

    Why doesnt this work in access?

    bstring = replace(astring , "<*>", "")

    I want to replace a portion of a string between and including the brackets
    (html code) and replace it with nothing.

    I thought the * was a wild card character.

    I searched for regular expressions on the net, but I don't know if I should
    be searching for another solution or module that can do this. First I have
    to know if the replace command will allow this.

    Danny




  • Danny

    #2
    Re: replace command

    I just found the
    microsoft vbscript regular expressions 5.5 reference.

    I figured out how to do it.

    But how do I make sure this application will work on antoher users machine
    who also has the same version of access but is running the MDE I send them.
    Is this part of the mde? or do they have to load this reference.

    Thanks again


    "Danny" <dannywork5@hot mail.com> wrote in message
    news:alxic.2634 $t26.2105193@ne ws4.srv.hcvlny. cv.net...[color=blue]
    > Why doesnt this work in access?
    >
    > bstring = replace(astring , "<*>", "")
    >
    > I want to replace a portion of a string between and including the brackets
    > (html code) and replace it with nothing.
    >
    > I thought the * was a wild card character.
    >
    > I searched for regular expressions on the net, but I don't know if I[/color]
    should[color=blue]
    > be searching for another solution or module that can do this. First I[/color]
    have[color=blue]
    > to know if the replace command will allow this.
    >
    > Danny
    >
    >
    >
    >[/color]


    Comment

    Working...