fwclough
Programmer
- Nov 24, 2008
- 3
I have a javascript function that receives the following string:
<p><img src="picts/Gay_FT_lg.jpg" border="0" alt="" /></p>
I want to use the temp1.split() function to extract the name of the file(i.e., picts/Gay_FT_lg.jpg).
I thought it would be simpliest to split the string using a double quote as the delimiter. However I am unable to figure out how to do this.
Any help would be appreciated.
<p><img src="picts/Gay_FT_lg.jpg" border="0" alt="" /></p>
I want to use the temp1.split() function to extract the name of the file(i.e., picts/Gay_FT_lg.jpg).
I thought it would be simpliest to split the string using a double quote as the delimiter. However I am unable to figure out how to do this.
Any help would be appreciated.