From 399cca920b3d2d94e3c0f8d1099b22b6482481da Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Wed, 14 Dec 2011 11:04:14 -0500 Subject: Added a reference note for people needing to limit to a set number of characters --- user_guide_src/source/helpers/text_helper.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst index e97643275..8cb2d6f96 100644 --- a/user_guide_src/source/helpers/text_helper.rst +++ b/user_guide_src/source/helpers/text_helper.rst @@ -46,6 +46,9 @@ more or less then what you specify. Example The third parameter is an optional suffix added to the string, if undeclared this helper uses an ellipsis. +**Note:** If you need to truncate to an exact number of characters please see +the :ref:`ellipsize` function below. + ascii_to_entities() =================== @@ -136,6 +139,8 @@ complete words. Example // Would produce: Here is a simple string of text that will help us demonstrate this function +.. _ellipsize: + ellipsize() =========== -- cgit v1.2.3-24-g4f1b