diff options
author | aneasystone <aneasystone@gmail.com> | 2015-07-26 10:47:25 +0200 |
---|---|---|
committer | aneasystone <aneasystone@gmail.com> | 2015-07-26 10:47:25 +0200 |
commit | d5326294e5cad1254b27711b3f279397ec4f6088 (patch) | |
tree | 071e9753b233727918fa264c6055415ea38e7c83 /user_guide_src | |
parent | 2ffdb7b9ddcd9cbc49fc347fe8d8f276bdab60e0 (diff) |
fix word_wrap produce not clear
Signed-off-by: aneasystone <aneasystone@gmail.com>
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/helpers/text_helper.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst index d1723c58a..ef47882fb 100644 --- a/user_guide_src/source/helpers/text_helper.rst +++ b/user_guide_src/source/helpers/text_helper.rst @@ -193,7 +193,11 @@ The following functions are available: $string = "Here is a simple string of text that will help us demonstrate this function."; echo word_wrap($string, 25); - // Would produce: Here is a simple string of text that will help us demonstrate this function + // Would produce: + // Here is a simple string + // of text that will help us + // demonstrate this + // function. .. php:function:: ellipsize($str, $max_length[, $position = 1[, $ellipsis = '…']]) |