What function should I use to truncate a string? What function should I use to truncate a string in Drupal 5?
truncate_utf8() is present in all Drupal versions; just check that the parameters are the same.