File getFolderContents

Hello

I want to get all the files in a directory that start with a particular name and are txt

The script is:

var v_dir = ‘C:\test’;
var v_files = plugins.file.getFolderContents( v_dir, ‘CKT*.txt’ );

The charater * for retrieve all files that start with CKT doesn’t work.
Is there a character “wildcard” for do this?

Thanks in advance

Roberto

no the filter only works with endsWith() so currently only things like “.txt” to get all the txt files work.

ok.
Thanks for the answer :(

Roberto