Method: TrimName()

Trims all whitespace out of the Name property

Syntax

void TrimName()

Example

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