summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/string_helper.html4
1 files changed, 2 insertions, 2 deletions
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);</code>
<p>The above would generate 30 newlines.</p>
<h2>reduce_double_slashes()</h2>
-<p>onverts double slashes in a string to a single slash, except those found in http://. Example: </p>
+<p>Converts double slashes in a string to a single slash, except those found in http://. Example: </p>
<code>$string = &quot;http://www.some-site.com//index.php&quot;;<br />
echo reduce_double_slashes($string); // results in &quot;http://www.some-site.com/index.php&quot;</code>
<h2>trim_slashes()</h2>
-<p>Removes any leading/traling slashes from a string. Example:<br />
+<p>Removes any leading/trailing slashes from a string. Example:<br />
<br />
<code>$string = &quot;/this/that/theother/&quot;;<br />
echo trim_slashes($string); // results in this/that/theother</code></p>