To download NI software, including the products shown below, visit ni.com/downloads.
Overview
From a multi-line string, search for a location name and return the ID number.
Description
This example uses basic string manipulation to search a multi-line string, for a location. Once the location is found, the corresponding ID number is returned. Note that this example assumes the source string is of a specific format. This can be seen in the attached vi below.
Requirements
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.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.