Remove text that precedes "#"

F

fredg

Hello,
I have a string that looks like this:
§74.1321#http://ecfr.gpoaccess.gov/cgi/t/text/text-idx?c=ecfr
rgn=div8&view=text&node=21:1.0.1.1.27.2.31.18&idno=21#

How can I remove the characters that precede the first "#", so that string
will look like this:

#http://ecfr.gpoaccess.gov/cgi/t/text/text-idx?c=ecfr
rgn=div8&view=text&node=21:1.0.1.1.27.2.31.18&idno=21#

I know I'll need an update query.

Thanks in advance for your help.

Ellen

Update YourTable Set YourTable.[FieldName] =
Mid([FieldName],InStr([FieldName],"#")+1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top