Jump to content

Help - str_replace Not Working?


jHz

Recommended Posts

Posted

I am trying to get this to work, but its not matching:

{{$catName = str_replace('Misc Instruments', '', $row->container()->_title);}}

I suspect its because $row->container()->_title is coming back encoded?

Can I convert that to text somehow? Appending the "|raw" element sends back weird characters.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...