# P_trim
## Syntax:
@trim**({text})**
## Use Case:
Removes all leading and trailing whitespace from a string.
## Arguments:
- **{text}**: The input text.
## Examples:
1. **/var {clean} {@trim(   padded   )}**
## See Also:
@ltrim, @rtrim