The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: String to 2D Array

SercoSteveB
Active Participant

What are the contents of Array Size Out following execution of the VI?

String to 2D Array.png

a) {1,3}

b) {1,5}

c) {1,6}

d) {2,3}

Comments
LordNobady
Member

I go for D


Learning LabVIEW since January 2013
Sumithra_Nagappan
Member

Ans D

crossrulz
Knight of NI

D


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
MrStevenUND
Member

D. 

I'm surprised both {2,3} and {3,2} aren't options.  I am always second guessing myself on which comes first... rows then columns.

VSC
Member
Member

The resultant is option D.

Asha_Nagaraj
Member

Ans is D.

LordNobady
Member

agree. the 2 and 3 combo is the easy part.


Learning LabVIEW since January 2013
RAMESHB
Member

Ans is D

adiveppa
Member

ans is D

somashekar_kako
Member

can any one explain it clearly

SercoSteveB
Active Participant

Answer: D  Nice one LordNobady, Sumithra_Nagappan, crossrulz, MrStevenUND, VSC, Asha_Nagaraj, RAMESHB & adiveppa.

Spreadsheet String To Array Function converts a spreadsheet string to an array of the dimension and representation of array type. This function works for arrays of strings and arrays of numbers.

By spreadsheet string; I think NI mean a string delimited by a character, Steve,Likes,LabVIEW is delimited by the commas.  In the example I have set up the Spreadsheet String To Array Function to break the string up by the commas.  In addition I have added and <CRLF> into the spreadsheet string to highlight what impact that has on the 2D output array.

What do we think the answer would be if the <CRLF> was missing from the spreadsheet string?

LordNobady
Member

if the <CRLF> was not there the answer is B

LabVIEW and The wil merge


Learning LabVIEW since January 2013
sumapatil
Member

Answer is D

jagadishj
Member

D is the write answer because of when you increasing this type of symbol(,) from both input of the string constant or one input side it will shown you how many used it.

mini09
Active Participant

Agreed D as well........

ashwinilele
Member

D

skian
Member

D