Overview:
This VI takes an input string and two arrays of tokens. All instances of text between these tokens will be deleted and the resulting string is fed to the output.
Description:
This VI is a great resource for removing comments from C-code and for stripping out HTML code and scripts from a view-source web page. The Start and End Strings controls allow for the user to define what he would like to remove from his input string. This VI currently has default values entered in order to remove comments in C-code and HTML scripts (<SCRIPT>, //* */).
This VI also has a pre-built example for the Input String. Upon downloading this VI, run the example as is in order to properly see how this VI functions, (See Front Panel image below).
Requirements:
LabVIEW Base Development System.
Steps to Implement or Execute Code:
Additional Information or References:
**This document has been updated to meet the current required format for the NI Code Exchange.**
Regards,
Dan King
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.