I have myvar="ASSMF-01102012-230120.txt"
i need to extract the date 01102012 from myvar and assing the new value in Mydate in this format 01/10/2012
i need to extract the date 01102012 from myvar and assing the new value in Mydate in this format 01/10/2012