06-14-2013 03:14 AM
How do you remove rows of empty spaces from a long string.
06-14-2013 04:19 AM
I'm using a case in a for-loop and on my loop there's a array going out when I auto index the loop. It gives me the correct output but there a problem, there are 2 rows white spaces between them and I think they are called line feed. How can I remove these line feed for all the cases that are being processed out?
06-14-2013 04:25 AM - edited 06-14-2013 04:26 AM
You could use regular expressions:
If this is not what you are loooking for, please post your data not a picture.
06-14-2013 04:36 AM
These are my VIs.
06-14-2013 04:36 AM
More Sub-VIs
06-14-2013 04:59 AM
Is this possible to be done?
06-14-2013 05:07 AM
Patience, it is possible.
I strongly recommend that you look at this board as a lot of your code can be simplified using regular expressions.
06-16-2013 10:29 PM
Hey .aCe.,
Thanks for the help but I tried your code but It's still not working for me.
I'm still getting spaces between my codes.
Alan. (:
06-16-2013 11:34 PM - edited 06-16-2013 11:38 PM
Ace's solution should have worked for you unless if those "spaces" are some special characters and not white-space. I was about to ask if you could use the attached vi to clean out all white space, but not sure if that's going to work either. Perhaps you could copy your string input in some text file and post it here?
-DP
06-17-2013 12:32 AM
Here is the attached Input.