Jaxel Well-known member Apr 2, 2011 #1 Currently I am using strlen and substr to create snippets... but its taking a lot of server resources. Is there a better way?
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 Apr 2, 2011 #2 Code: $post['message'] = XenForo_Helper_String::wholeWordTrim($post['message'], $options['recentnews_truncate']);
Code: $post['message'] = XenForo_Helper_String::wholeWordTrim($post['message'], $options['recentnews_truncate']);