01-11-2011 08:54 AM
Hello,
I know that a can define a number as "NaN" - this is great, because it's a nice way to check weather the variable is filled yet. But is it possible to make something similar with string? Something like string = "empty" or "nothing"...
Thanks for your help
Jonathan K.
Solved! Go to Solution.
01-11-2011 09:10 AM
There is a Len() funtion for strings. What about assigning "" to the strings and considering a string with Len() = 0 as empty ?
01-11-2011 10:29 AM - edited 01-11-2011 10:31 AM
stringVariable == "" should also work. String variables are initially empty in TestStand unless you explicitly specify a different initial value.