Method: TrimValue()

  • Updated

 

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"

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.