How To calculate length of the string

Hi All.

I am very New to UiPath. Can Any please tell me how to calculate the length of the character by using the IF condition.

Regards,
Naidu

@CRNaidu Here you go String_Length.xaml (6.1 KB)

2 Likes

@indra

Thank you… and now i want to run by using the if condition length of the char is >10 ? if yes “your Correct” or else “Your Wrong”.

Please suggest how to do.

Thanks

Create an if activity. Inside condition type “text.Length > 10” without quotes. Inside Then insert a Message box with value as “You’re Correct” and inside Else insert a Message Box with value as
“You’re Wrong”.

3 Likes

@CRNaidu Here is the updated xaml as you need String_Length.xaml (6.8 KB)

2 Likes

Thaanks a lot…

1 Like