Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--- given that your code containing the IMG tag is called "code" --->
- <cfset startpos = FindNoCase("src", code)>
- <cfset endpos = FindNoCase(chr(34), code, startpos)>
- <cfset aTag = Left(code, startpos)>
- <cfset imgTag = Mid(code, startpos, endpos)>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement