Thread
:
Smarty help please, "if a string begins with xyz..."?
View Single Post
#
2
02-11-2008, 08:17 PM
wjbrewer
Banned
X-Adept
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
Re: Smarty help please, "if a string begins with xyz..."?
Code:
{if $order.login|strpos:'customer-'===0} Do this. {/if}
wjbrewer
View Public Profile
Find all posts by wjbrewer