Method: TrimValue()

Trims all whitespace out of the Value property

Syntax

void TrimValue()

Remarks

Trim only makes sense on string values, so if called on a non-string Value, it will be converted into a string.

Example

Value = "Fuel Capacity"; TrimValue(); // Name is now "FuelCapacity"