Not Equal to operator

Hi
how to use not equal to in uipath
example: String str!=null

specify for string and null

1 Like

buddy we can try this instead
if your string variable is of name in_text
String.IsNullOrEmpty(in_text)
which will return a boolean value which we can check with a if condition buddy

Cheers @KarthikBallary

1 Like

row(0).ToString!=null
how do we equate this?

like this buddy @KarthikBallary
String.IsNullOrEmpty(row(0).ToString)
which will give us a boolean value with a variable named out_boolean
then we can validate this with a if condition by just passing the variable out_boolean to if condition as input
Cheers @KarthikBallary

1 Like

ok thank you

1 Like

you can try this way
String.IsNullOrEmpty(row(0).ToString)

Thanks

1 Like

String <> “”

can we get last row number of a excel file.
if so send the syntax

yes buddy
like this
Datatable.Rows(datatable.rows.count-1)

1 Like

Thank u so much

1 Like

Kindly try this and let know buddy @KarthikBallary

Stop calling “buddy” to people in all of your posts… :rofl::rofl::rofl:

6 Likes

try this string <> null

1 Like

not null working, last row will try and let u know

1 Like

Great

still any issues buddy @KarthikBallary

working on some other issue, I will let you know if I need help

1 Like

Hi I have a scenerio
I have a excel in this format
URL DATA
https://…

soory., I will attach the file
ui path has to hit the url and coresponding data must be entered

while entering data,
if multi results are found ctrl +a, back space
if no results found do the same
if single result found selectr
and go for next url.

its doing all the operartion except hitting next url. its throwing exception

Sample.xlsx (7.3 KB)