From aa8dc3c191318f261bc43a99e01540231b15e11b Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 12 Jul 2007 13:45:36 +0000 Subject: spelling corrections --- user_guide/helpers/string_helper.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide') diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html index df7e02ffa..9c3adf9ab 100644 --- a/user_guide/helpers/string_helper.html +++ b/user_guide/helpers/string_helper.html @@ -122,11 +122,11 @@ echo repeater($string, 30);

The above would generate 30 newlines.

reduce_double_slashes()

-

onverts double slashes in a string to a single slash, except those found in http://. Example:

+

Converts double slashes in a string to a single slash, except those found in http://. Example:

$string = "http://www.some-site.com//index.php";
echo reduce_double_slashes($string); // results in "http://www.some-site.com/index.php"

trim_slashes()

-

Removes any leading/traling slashes from a string. Example:
+

Removes any leading/trailing slashes from a string. Example:

$string = "/this/that/theother/";
echo trim_slashes($string); // results in this/that/theother

-- cgit v1.2.3-24-g4f1b