>- see footer for list info -<
Cheers both of you.

I needed grab the filename of any images in an
uploaded HTML template so in case anyone is interested
I ended up using this:

<cfloop condition="notFound eq 0">
  <cfset str =
REFindNoCase("<img[^>]*>",thisFile,start,"true")>
  <cfif structCount(str) and str.pos[1] neq 0>
   <cfset
thisImage=mid(thisFile,str.pos[1],str.len[1])>
   <cfset imgList=listAppend(imgList,thisImage,"|")>
   <cfset start = str.pos[1] + str.len[1]>
  <cfelse>
   <cfbreak>
  </cfif>
</cfloop>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to