You are here

function _support_truncate in Support Ticketing System 6

Same name and namespace in other branches
  1. 7 support.module \_support_truncate()
2 calls to _support_truncate()
support_page_form in ./support.module
Display tickets
support_page_user in ./support.user.inc

File

./support.module, line 2739
support.module

Code

function _support_truncate($text, $maxlen = 64) {
  return truncate_utf8($text, $maxlen - 1, TRUE, TRUE);
}