Hi
I want to execute a Do-while loop when a string is NOT empty. What should I state for the condition?
I only know how to test if a string is empty:
String.IsNullOrEmpty(Item.ToString)
Thank you!
Hi
I want to execute a Do-while loop when a string is NOT empty. What should I state for the condition?
I only know how to test if a string is empty:
String.IsNullOrEmpty(Item.ToString)
Thank you!
StringVariable.trim <> “”
you can try this @Anonymous2
@Anonymous2
not String.IsNullOrEmpty(Item.ToString)
String<>Nothing
String<>“”
Not String.IsNullOrEmpty(String)
Not String.IsNullOrWhitespace(String)
You can also use while string.Length >0.
@Anonymous2
I hope this helps. ![]()
IF (Not String.IsNullOrEmpty(Item))
Just lose that .ToString, because you get an exception if it is null ![]()