in reply to Re^3: searching for a substring in a string
in thread searching for a substring in a string

Thank you all for the reply.

Is there a way to check also after how many semi-colons the particular string is located in a string?

So, if

myFiles = test1234.txt; hello3456.txt; world7890.txt;

Then, test1234.txt is located after Zero semicolons

and hello3456.txt is located after One semicolons

and world7890.txt is located after Two semicolons