Is there a PHP version of xen:helper snippet?

Jaxel

Well-known member
Licensed customer
Currently I am using strlen and substr to create snippets... but its taking a lot of server resources. Is there a better way?
 
Code:
$post['message'] = XenForo_Helper_String::wholeWordTrim($post['message'], $options['recentnews_truncate']);
 
Back
Top Bottom