Hello Magnus,
one thing to keep an eye on:
for big arrays this method is ineffective regarding memory consumption!
Then it would be better to feed the shift register with an initialized
array of strings and replace the entries. After the loop you make
the array smaller (take subarray) by the amount of not needed entries.
And it would be better when all strings have the same length...
Just query the forum on "memory consumption of big arrays"!
P.S.: Thank me by rating
🙂
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019