diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
commit | ff845f94cc8876bc6c23c2f55b695bc569038512 (patch) | |
tree | 758d7880dabce6b0c89eb79bc11a60699c52b2fb /user_guide/helpers/string_helper.html | |
parent | 85f66ea6d2291c77a937305457592e24c85425ae (diff) |
changed your-site.com to example.com doc-wide
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 daa573564..3ede00931 100644 --- a/user_guide/helpers/string_helper.html +++ b/user_guide/helpers/string_helper.html @@ -118,8 +118,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.example.com//index.php";<br />
-echo reduce_double_slashes($string); // results in "http://www.example.com/index.php"</code>
+<code>$string = "http://example.com//index.php";<br />
+echo reduce_double_slashes($string); // results in "http://example.com/index.php"</code>
<h2>trim_slashes()</h2>
<p>Removes any leading/trailing slashes from a string. Example:<br />
<br />
|