How to use Contains.Help


i would like to Get Data with the character is abc and number is 10 digits.
-“abc0123456789”- True
-“abc 0123456789”- True
-“abc012-3456-789”- True
-“abc0123456”- False
-“aa0123456789” - False

How to use Contains Or do you have any other advice?

Hi @punnipah ,

Could you try with the Below Expression :

InputStr.ToLower.Contains("abc") andAlso InputStr.Count(Function(x)x.ToString.IsNumeric)=10

You could use the above expression directly in a If Activity or you could assign it to a Boolean Variable using Assign Activity

1 Like

Hello @punnipah ,

I think this query is already resolved in the below thread? Is there any other issues which you are facing?

1 Like

Duplicate of:

1 Like

Hi Punnipah

Is it constant pattern or it will change with any other characters after abc


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