The macro trims trailing blanks from the value of the named property.
The following table describes the macro specific attributes for the macro:
| Macro Specific Attributes | ||
| Attribute | Description | Required |
| property | The name of the property whose value is to be trimmed. | Yes |
None
<property name="testProperty" value="Trim "/>
<Trim property="testProperty"/>
<echo>${testProperty}</echo>
Result:
[echo] Trim