Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract image path from a text field

Status
Not open for further replies.

douggy

Technical User
Jan 18, 2001
78
0
0
GB
Hi there,

I have a text field which contains HTML news items. These HTML items contain images and their paths.

I would like to extract all the image paths into a seperate field. Can you think of a way to do this???

example:

<P><IMG src=" border=0></P>

Ideally I would like to extract everything apart from the image name and end up with the following....


Any tips would be great.

Regards
Mark
 
Mark
Will this do it for you?

Left([ImagePath],InStr(1,[ImagePath],"/p")-1)

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top