From 325197e700564f8e4e0ba7c9fc82abfd85f451b0 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Mon, 20 Nov 2006 17:29:05 +0000 Subject: --- user_guide/helpers/text_helper.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide/helpers/text_helper.html') diff --git a/user_guide/helpers/text_helper.html b/user_guide/helpers/text_helper.html index f84acce95..9cdada2db 100644 --- a/user_guide/helpers/text_helper.html +++ b/user_guide/helpers/text_helper.html @@ -79,7 +79,7 @@ Text Helper

Truncates a string to the number of words specified. Example:

-$str = "Here is a nice text string consisting of eleven words.";
+$string = "Here is a nice text string consisting of eleven words.";

$string = word_limiter($string, 4);

@@ -95,9 +95,9 @@ $string = word_limiter($string, 4);

of words so the character count may be slightly more or less then what you specify. Example:

-$str = "Here is a nice text string consisting of eleven words.";
+$string = "Here is a nice text string consisting of eleven words.";

-$string = char_limiter($string, 20);

+$string = character_limiter($string, 20);

// Returns: Here is a nice text string…
@@ -149,7 +149,7 @@ contain the phrase you wish to highlight. The third and fourth parameters will you would like the phrase wrapped in. Example:

-$str = "Here is a nice text string about nothing in particular.";
+$string = "Here is a nice text string about nothing in particular.";

$string = highlight_phrase($string, "nice text", '<span style="color:#990000">', '</span>');
-- cgit v1.2.3-24-g4f1b