VirtualArray.ToStringArray() Method

Top 

Description

Returns a copy of the Array in the form of a StringArray. This is equivalent to creating a StringArray consisting of each element of the called Array using the ToString() method.

 

Values will be converted to a string representation (e.g. scientific, floating point, or integer) based on the magnitude of the value. If you require a specific format, please use the overload which allows for format specification.

 

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

VirtualArray.ToStringArray(

)

 

 

Return Value

Type:

Array of string

 

 

Returns a StringArray object that contains the values of the Array as Strings.

 

Syntax

myStringArray1 = {1,2,3,4}.ToStringArray();

 

 

See also

VirtualArray Object

VirtualArray.ToStringArray