Skip to main content

Hi, 

 

I am new to Automation Anywhere and trying to learn things. When I use the String: Find package on the below string to find number of times “ ; “ occurs

;100;1,000;10,000;1,00,000;10,00,000
 

I get output as 1 when I give the ‘Start from (optional)’ field as 1, but I get output as 5 when I give ‘Start from (optional) field as 2. Any idea why this behavior? Shouldn't the count remain same as it only finds the number of occurrences of a character in a given string? 

 

I have attached the screenshot for reference

 

Regards,

Bala

It’s not returning count but the position of found string.


Hi @Balasamaran 

Please refer the below link.

Find how many times a character is repeated in a string in A360


Reply