01-13-2014 07:21 AM
Hello all,
Now what shall I do is to convert a string to an array.
The string I got is shown in the pic in attachment, together with my code.
Obviously the array isn't correct.
i wonder if there's a way to change the format of the string without the empty lines, and concatenate each number after another,
in order to have a correct array with my code.
Or someone has idea to make a new code for converting a string like this to array?
Thanks
Chao
Solved! Go to Solution.
01-13-2014 07:25 AM
01-13-2014 07:25 AM - edited 01-13-2014 07:26 AM
01-13-2014 09:07 AM
Hi Gerd!
Here is my VI. Actually I figured out a simple way to implement this, just by
adding a Trimwhitespace.vi between the input string and match pattern, and that works!
I'm still glad to know how do you use spreadsheetstringtoarray.
Thanks in advance if you can show me that!
Chao
01-13-2014 09:34 AM
I think they are referencing something like this.
01-13-2014 09:37 AM
Wonderful! That's it.
Thanks a lot for the reply!
Chao