The Daily CLAD

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

CLAD2017 - Answer the requirement: Split that string

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

 

 

Combined.png

Comments
Member

C!

Knight of NI

C

 

My very first thought was Spreadsheet String To Array.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Member

C

Member

c

Member

C

Member

C

Member

C. 

Member

C

Member

c

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.

Combined.png