htmltrim From Online Manual

Revision as of 12:11, 1 July 2013 by Illori (talk | contribs) (Bot: Automated text replacement (-  + ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 ');



Advertisement: