title: Removing last string value from a legend while using data driven pages
body: <p>I am trying to figure out how to remove the last value from a string in a legend while using data driven pages. I have a series of maps using dd pages and a reference grid, and each map has a key for the USGS Topo Quads that the map is showing. I need to be able to remove the last value ";" in each map. This is changing in most maps as different locations show different Topo maps. Im sure this is possible using python but i am not aware of how to employ this to allow only the last ";" to be removed in the dynamic environment. Thanks.</p>
  
  <p><img src="https://i.stack.imgur.com/CTiip.jpg" alt="enter image description here"></p>