trim
Purpose:
Removes leading and trailing whitespace (spaces and tabs) from a string.
Return Values:
Returns the trimmed string.
Example:
input: | resulting output:
| <pre>
<? " Hello ">
<? trim(" Hello ")>
</pre> |
Hello
Hello
|
See Also:
trimleft(), trimright().
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
Try the AJAX Article
(in German) on www.h-e-i.de.
© 1996-2025 H.E.I. All Rights Reserved.
|