To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI shows how to recognize and display whitespace characters in Code Notation.
Description
This example checks strings for whitespace characters. Possible whitespace characters are: space (\s), carriage return (\r), line feed (\n), or tab (\t). Characters in the parenthesis () are in code display.
If the Input String has only the whitespace characters, the VI displays the code notation for those characters in the Output String. If the string has some non-whitespace characters, or if the string is empty (has no characters), the VI displays only the appropriate message in the Output String.
Requirements
LabVIEW Base Development System (or compatible)
Steps to Implement or Execute Code
1. Add the string you would like to add
2. Run the VI
3. Delete the string and just add spaces
4. Run the VI
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.