BE_FilePatternCount ( path ; searchText )

Search inside files on disk.  Much like the native PatternCount function, but within files on disk.

Version : 4.2.0 : Added.

path : the plugin path to the file.
searchText : the text to find in the text document - can be a value list, where it will count each of the values in turn.

Result : a count of the number of times that searchText appears in the file.

Example : if you do BE_FilePatternCount ( $path ; "abc¶def" ) on a file containing "abc__abc__def" then it will return "2¶1".

Still need help? Contact Us Contact Us