2013-05-13 08:14:37 +10:00

14 lines
383 B
Plaintext

<h3>trim() function</h3>
Removes all leading and trailing whitespace (spaces, tabs, etc) from a string.
<p><h4>Syntax</h4>
trim(<i>string</i>)</p>
<p><h4>Arguments</h4>
<!-- List args for functions here-->
<i> string</i> &rarr; is string. The string to trim.</p>
<p><h4>Example</h4>
<!-- Show example of function.-->
trim(' hello world ') &rarr; 'hello world'</p>