Overview
Parsing strings is useful in a wide array of applications, coming in especially handy when doing serial communication. This example demonstrates how to parse a string based on a specific parsing expression.
Description
The code takes an input string broken up by an expression (like a comma), and returns in an array all of the values between occurrences of that expression.
- Specify the Input String to be parsed.
- Specify the Parsing Expression.
- Run the VI
- View the Output String
Requirements
Software:
LabVIEW 2012
Steps to Implement or Execute Code
- Download the .zip file
- Set your desired configuration (a, x1, x2, degrees, etc)
- Run the VI
Additional Information or References
VI Block Diagram


**This document has been updated to meet the current required format for the NI Code Exchange.**