Text error check cond

Hi, I am geeting error can you please tell me. This text is a string variable, I am checking here if text contain words then execute Then part otherwise Else.


@Palaniyappan

is text is a string variable
if so
use this expression
Convert.ToDouble(text) > 0

or this expression
Convert.ToInt32(text) > 0

Cheers @balkishan

1 Like

BTW I put text = β€œ0” It’s working bro :slight_smile:

1 Like

Great :slight_smile:

Best way would be to use text.Length>0 to check if it has any characters in it

Cheers!

No bro, It;s not working. Just check. My method is working!!

image

Cheers @balkishan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.