06-07-2010 06:30 PM
Hi, I was wandering if anyone had the best way to search a string and delete repeated sub sections.
For examples the input string may look like:
T2, T2, T3, T6
but I want to delete one of the repeated T2 so the ouput would be:
T2, T3, T6
Note that the input string may be of any length and a multiple of 4. I have gone through all the string functions and can find nothing to match what I require. I have tried using 'String subset' in a for loop wired to an output array.
Any help in right direction would be appreciated!
Solved! Go to Solution.
06-07-2010 06:57 PM
Here is a handy dandy little tool that does just this. The strings must be comma delimited. it is in LV2009. If you don't have it, save the file and submit it to the Downconvert VI Request thread.
06-07-2010 07:15 PM
That does exactly what I want 🙂
Just need to downconvert to 6.2
06-08-2010 11:40 AM
Going from 2009 to 6.2 is a lot of work. 2009 - 8.6 - 8.2 - 8.0 - 7.1 - 7.0 - 6.2. Six steps. Whew. If you can't get it downconverted, I can post a picture.
06-08-2010 12:15 PM - edited 06-08-2010 12:18 PM
Yes, way too much work for a relatively small VI.
Here is the screenshot.
EDIT: Smercurio already converted it to LV 6.1 here.
06-08-2010 04:28 PM