Availability
$WBTRIM is available for use with all WBSP commands:
Syntax
$WBTRIM{anystring}
$WBTRIM[anystring]
Parameters
anystring - any textual value that can be either WhizBase tag, function,
plain text or any combination of those
Returns
value of
anystring without both leading and trailing
spaces.
Example
After running this example (e.g. using GET method: http://localhost/WBTRIM.wbsp?test=%20%20%20%20%20%20%20%20some text), the HTML code of resulting page in browser, may look like this: