I have a variable that has the following value
D:\Data Extraction from Excel for Indorama\Data\Input\ds-500-1ait0228 - spécification technique d’instrument, 1-ait-0228 - 1.0.0.xls
i want to change it to
D:\Data Extraction from Excel for Indorama\Data\Input\ds-500-1ait0228 - spécification technique d’instrument, 1-ait-0228 - 1.0.0.pdf
the file name can change into anything
and xls can also be xlsx
so how should I change it