diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-08-08 19:04:40 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-08-08 19:04:40 +0200 |
commit | 8788d4b5f597465daaabf46455cd086b6b7deb58 (patch) | |
tree | 775f5bbc833ecd130476a662aaad0f2db3694b88 /user_guide/helpers/string_helper.html | |
parent | 487de38e4cf677a6c115232610d94b6cbcf504d4 (diff) |
changed some-site.com to example.com in example code per http://www.rfc-editor.org/rfc/rfc2606.txt
Diffstat (limited to 'user_guide/helpers/string_helper.html')
-rw-r--r-- | user_guide/helpers/string_helper.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html index cf6871709..c20c7b840 100644 --- a/user_guide/helpers/string_helper.html +++ b/user_guide/helpers/string_helper.html @@ -123,8 +123,8 @@ echo repeater($string, 30);</code> <p>The above would generate 30 newlines.</p>
<h2>reduce_double_slashes()</h2>
<p>Converts double slashes in a string to a single slash, except those found in http://. Example: </p>
-<code>$string = "http://www.some-site.com//index.php";<br />
-echo reduce_double_slashes($string); // results in "http://www.some-site.com/index.php"</code>
+<code>$string = "http://www.example.com//index.php";<br />
+echo reduce_double_slashes($string); // results in "http://www.example.com/index.php"</code>
<h2>trim_slashes()</h2>
<p>Removes any leading/trailing slashes from a string. Example:<br />
<br />
|