Is there a PHP version of xen:helper snippet?

Jaxel

Well-known member
Currently I am using strlen and substr to create snippets... but its taking a lot of server resources. Is there a better way?
 

Jaxel

Well-known member
Code:
$post['message'] = XenForo_Helper_String::wholeWordTrim($post['message'], $options['recentnews_truncate']);
 
Top