Since: 1.2.0
pods_trim
Filter input and return sanitized output
Function Definition
Parameters
Parameter | Type | Details |
---|---|---|
$input | (mixed) | The string, array, or object to sanitize |
$charlist | (string) | (optional) List of characters to be stripped from the input. |
$lr | (string) | Direction of the trim, can either be 'l' or 'r'. |
Returns
(array|object|string)