From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

The Daily CLAD

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

Re: CLAD2017 - Fundamentals - String Manipulation 3 of 5

SercoSteveB
Active Participant

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

 

Scan String for Tokens.png

 

Scan String for Tokens Answers.jpg

Comments
crossrulz
Knight of NI

C


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

Answer is C.

 

Loop will execute for 4 times, so at last iteration one empty string will add to output array.

TommyInglethorpe
Member

C

abasak86
Member

Option C. The While Loop will execute four times.

skian
Member

C

istan0227
Member

C

CA-Pioneer
Member

C.  If it is For Loop, the result should be B. While loop would search the next "" at the time 4 then get -1(no match) to stop the loop in this case.