Count(
path:path
)
→ int
Returns the number of components in the path.
Example:
p: path = "C:\Windows\System32"; Output( Count(p) ); --> 3
Count(
str:string,
str:substring,
[str:flags]
)
→ int
Returns the number of times substring is found in string.
The optional flag c makes the search case-sensitive.
Example:
str = "Hello world"; Output( Count(str, "l") ); --> 3
See also:
InStr