AnsweredAssumed Answered

Removing characters from rasters and putting them to the front of file name

Question asked by atSEE on May 29, 2014
Latest reply on May 29, 2014 by jamesfreddyc
I need syntax in Arcpy/python that will remove "_pa" from the end of any raster file that has this at the end of its file name. Additionally, on files where this is the case, I want to add "PA_" to the front of these files. Can anyone help me?