Added substr functionality to MergeToASCIIMAP to overcome the current issue with modifying String elements