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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting concatenated string to array of strings

Solved!
Go to solution

I'm trying to figure out how to convert a concatenated string such as "dude your,2,q"

Into a 1 d array that looks like:

 

dude your

2

q

 

As you can see, the way I have it coded, it outputs:

0

2

0

I'm confused.
What's a good way to do this?
(don't mind the words, I'm just using this to learn..... hahahaa)

0 Kudos
Message 1 of 4
(2,647 Views)
Solution
Accepted by topic author nlis12

If you wire a numeric array as the default datatype for "spreadsheet string to array", it will give you a numeric datatype. You have to wire a string array as the default datatype, and at the output.

Message 2 of 4
(2,645 Views)

I was closer than I thought.

Thanks!

0 Kudos
Message 3 of 4
(2,630 Views)

Try this:

arrate.PNG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 4
(2,626 Views)