Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69088

Scan from string with delimiter (variable length string)

$
0
0

Hi,

 

I know there is a simple answer to this question but I cannot seem to find the solution.

 

I have an initial string that is delimited by semicolons. I want to extract string "string" into output 1 and floating point number "12.345" into output 2. Since I put the semicolon seperator in the format string you would think it would scan until it reaches that character but instead output 1 is "string;12.345;% and output 2 fails to produce anything.

 

This format string "%[^;];%f;" will work but seems like a work around to me. Any thoughts?

 

2.JPG

1.JPG


Viewing all articles
Browse latest Browse all 69088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>