(Created page with "{{smcfunc |function=htmltrim |usage=$smcFunc['htmltrim'] (string) |description=Works similar to the php function [http://php.net/manual/en/function.trim.php trim()], additionally...") |
(No difference)
|
Revision as of 08:02, 14 December 2011
Usage:
$smcFunc['htmltrim'] (string)
Description: Works similar to the php function trim(), additionally also HTML spaces (e.g. ) are trimmed.
Parameters:
- string the string that will be trimmed.
Return: the trimmed string.
Example:
$result = $smcFunc['htmltrim'](' This is the string I want to trim ');