View Single Post
  #3  
Old 03-28-2011, 10:28 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: combining truncate and replace

I was wondering if anyone knows if it is possible to truncate a string but to do it at the first "," instead of at a certain number of characters? For example

scented candles, votives, candle holders

would be shown only as

scented candles

thanks
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote