The Daily CLAD

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

Re: CLAD2017 - Answer the requirement: Split that string

SercoSteveB
Active Participant

You are tasked to write a VI that will split an input string (Instrument String In) containing 4 comma delimited values (e.g. card2,ch3,2.34456,12:34:55) into an output 1D array (Parsed Array Out) containing the 4 individual values within the input string. 

 

Which of the following VIs does NOT satisfy the requirements?

 

Have a go at coding a VI yourself or expand the Spoiler tag to see the possible answers.

 

Spoiler

a)

Split String #1.png

 

b)

Split String #2.png

 

c)

Split String #3.png

 

d)

Split String #4.png

 

 

Comments
GladysToMeetYou
Member

C!

crossrulz
Knight of NI

C

 

My very first thought was Spreadsheet String To Array.


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
Vinay_Kumar_M_S
Member

C

Technoliv
Member

c

nik35324
Member

C

MrStevenUND
Member

C

Matt-A.
Member

C. 

qubirt
Member

C

Ellie90
Member

c

SercoSteveB
Active Participant

Answer: C.  Nice one all.

 

C detects each comma OK (as the loop iterates) but doesn't satisfy the parsing the input string into the output array requirement.

istan0227
Member

C