You are here

static function Messaging_Method::text_truncate in Messaging 6.4

Truncate messages to given length. Adapted from node_teaser() in node.module

File

includes/messaging_method.class.inc, line 147
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Method
Base class for all Incoming and Sending methods

Code

static function text_truncate($text, $length) {
  return messaging_text_truncate($text, $length);
}