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!
String<>Nothing
String<>“”
Not String.IsNullOrEmpty(String)
Not String.IsNullOrWhitespace(String)
IF (Not String.IsNullOrEmpty(Item))
Just lose that .ToString, because you get an exception if it is null