Hi. This may be one of many queries as i have been putting some manners on an archive of around 650 top of the pops episodes which are absolutely mangled name/format wise.
The batch i'm trying to fix atm are in single digit date format so i'd like to add a zero for digits under 10. File format atm is:
Top of the Pops 6-8-81.vob
I came across the java script below suggested for adding the 0
function prependZero(number) {
if (number < 9)
return "0" + number;
else
return number;
}
However when i put that into the special (14) box for javascript it doesn't do anything to the filename. Am i doing something wrong or does the code not work with BRU?
TIA