I have a list of files (some ends with _HHMMss.* where * is the extension).
I want to check if a specific file exist in the list ignoring the "_HHMMss", means: if I have a list:
A_Log_YYYY_MM_DD_121122.csv
B_Log_YYYY_MM_DD_112211.csv
C_Log_YYYY_MM_DD_333333.csv
D_Log_YYYY_MM_DD_555555.csv
E_Log_YYYY_MM_DD_777765.csv
check if "A_Log_YYYY_MM_DD.csv" exist, the answer in this case is TRUE Is there a fast way to do that?