View Single Post
  #2  
Old 02-11-2008, 08:17 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Smarty help please, "if a string begins with xyz..."?

Code:
{if $order.login|strpos:'customer-'===0} Do this. {/if}
Reply With Quote