How to count/check if a string contains multiple slash (/)?

How to count if a string contains multiple slash (/) ?

Hi,

Can you try the following expression?

yourString.Count(Function(c) c="/"c)

Regards,

1 Like

thanks for quick response.
Its showing Count is not a member of String.
varSize.Count(Function(c) c="/"c)

Its working .

1 Like

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