Thread: substr help
View Single Post
  #1  
Old 07-16-2007, 10:55 AM
  hrothbeorht's Avatar 
hrothbeorht hrothbeorht is offline
 

Senior Member
  
Join Date: May 2007
Posts: 156
 

Default substr help

Hey there,

I need to take a chunk out of this:
{$product.tmbn_url}

diaplays as: http://www.thewebbbsite.ca/shop/images/P/fl_00001.swf
I need: fl_00001

substr('{$product.tmbn_url}', 41, -4)

I figure it might look something like this?
I've been trying lots of stuff and I can't seem to work this out..

?? help ~!

-hroth
__________________
x-cart- 4.1.10
www.boutiquefinn.ca
Reply With Quote