Array.IFormat(String, String) Method

Top 

Description

Converts the integer values contained within the calling Array into a string based on the format specifiers given by formatString. If values in the calling Array are not integers, only the integer parts of the values will be used. Array elements will be delimited using delimiter.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

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

 

Method Signature

Array.IFormat(

String formatString,


String delimiter)

 

 

Arguments

formatString


Description:

Format specifier to use when converting the calling Array into a String. The format specifiers are standard C/C++ specifiers as used with the sprintf function.

 

 

delimiter


Description:

Delimiter to use when converting the calling Array into a String. This argument will be used to delimit elements of the calling Array.

 

 

 

Return Value

Type:

string

 

 

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

 

Syntax

myString1 = myArray1.IFormat(myString2, myString3);

 

 

See also

Array Object

Array.IFormat

Matrix, Array, and Variable Math Guide