jgcode Posted August 28, 2011 Report Share Posted August 28, 2011 From the Trim Whitespace review we decided not to implement the remove non-printable characters feature from Fast Trim due to reasons of maintaining high cohesion etc... in the original VI. However, from that review and other posts (e.g. here) this VI my be a nice addition to the String package. Please vote or leave feedback if you would like to see such functionality in OpenG. Link to comment
Jim Kring Posted August 28, 2011 Report Share Posted August 28, 2011 What are the use cases for removing non-printable characters? How do non-printable characters get into a string? Why would one want them removed? Is this common in string operations, or is it more focused to a specific problem/application domain? Link to comment
jcarmody Posted August 28, 2011 Report Share Posted August 28, 2011 I often use Search and Replace String to get null characters out of strings before applying a Regular Expression. Link to comment
asbo Posted August 28, 2011 Report Share Posted August 28, 2011 The most recent use case I had was working with strings returned from C-based code (e.g., Windows API). There's another thread floating around where a guy was working with data that was NULL padded. All told, I'd probably end up rewriting it by hand before looking for non-printable filter VI. Link to comment
jgcode Posted August 30, 2011 Author Report Share Posted August 30, 2011 Anyone interested in this functionality? Please give feedback. Link to comment
jgcode Posted September 1, 2011 Author Report Share Posted September 1, 2011 I have moved this thread to pending. If not many are interested I will close this in the near future and reject this proposal. Link to comment
jgcode Posted September 7, 2011 Author Report Share Posted September 7, 2011 I will close this thread and reject this inclusion into OpenG. Link to comment
Recommended Posts