10-01-2005 10:27 AM
10-01-2005 11:26 AM - edited 10-01-2005 11:26 AM
Just convert it to a byte array. Then, in a loop, check each for e.g. "printable?" or a desired set of "lexical class" (e.g.2,3,4,5) and built a new array from the subset. At the end, convert back to string. (see attached, LabVIEW 7.1).

(If your string is huge, you should preallocate the array, replace at the current index, then trim it after the loop to the correct size. This optimizes memory allocations).
Message Edited by altenbach on 10-01-2005 09:27 AM
10-01-2005 11:43 AM