We have four filenames with first few digits are identical.From those files, i need to pick up 2 files based on my parameter.
The following example will give more information to understand my question.
if parameter is small_customer then
expected filenames:
small_customer_aa.csv
small_customer_ab.csv
else if parameter is small_customer_relate then
small_customer_relate_aa.csv
small_customer__relate_ab.csv
end if;
how can i extract the above filenames from the directory.