Now we have the following problem: We have an array of strings. In each string there is five words. These are separated with tabs. We now want to get these words separeted in another array. Any tip? Best regards!
Thank you for your answer. We tried something like that but it did not work. So now we know what we did wrong 🙂 Now there is one more thing. That is between two of the columns there are no tab, but we want to pick these words out too... can one do this? Because this words "disappear" because there is no tab there is just space. Numbers of space here between can be different too... best regards.
In Method 1 in the example I attached I use Scan String For Tokens.vi which allows for several delimiters to be detected including spaces and tabs. If you look at the Context Help it will explain. If you delete Method 2 from the example, and change one of the tabs (\t) in "Array" to a space (\s) or even multiple spaces you will find it will work just as well. 🙂
We wonder if there is any other way to do this? We would like to avoid the build array-VI...? We mean the problem that it is space between instead of tab... best regards.
what do you want to change? There is no "Build Array" in the example... And you can always change from tab to space as seperator like NeilR wrote and explained.
?-)
Best regards, GerdW
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019