11-06-2010 09:03 PM
hi, I want to read a num 123 from the string like that "sfg123" "fgd123" "ghj123"
I know that I can use "%3s" to skip 3 chars, but it will add an output to "scanf from string"
So, how to use parameter "format string" not only to skip 3 chars, but also add no output to the "scanf from string"
Solved! Go to Solution.
11-06-2010 10:10 PM
Scan from string has an input name "initial scan location". Wire a diagram constant of 3 to it.
11-16-2010 01:37 AM
it does work
but I want to know is there any special method through the parameter "format string" to skip 3 chars, just like "*" "?" "." "$"
11-16-2010 04:06 AM
Hi Chenyin,
Try this VI....
I think... This is what you are expecting....
<<Kudos are welcome>>
11-16-2010 11:56 AM
@chenyin wrote:
hi, I want to read a num 123 from the string like that "sfg123" "fgd123" "ghj123"
I know that I can use "%3s" to skip 3 chars, but it will add an output to "scanf from string"
So, how to use parameter "format string" not only to skip 3 chars, but also add no output to the "scanf from string"
What is wrong with having the extra string output on the Scan from String function? You don't have to do anything with it, and in your picture you are not.
11-19-2010 10:41 AM