String.TrimWhitespace() Method

Top 

Description

Returns a copy of the string where whitespace has been trimmed off either end.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

String.TrimWhitespace(

)

 

 

Return Value

Type:

string

 

 

Returns a String containing the converted version of the calling String.

 

Syntax

myString1 = myString2.TrimWhitespace();

 

 

See also

String Object

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data