Return character string from dynamic text?

Discussion created by jamespaull on May 22, 2014
Latest reply on May 23, 2014 by jimcousins

Is there a way to use to dynamic text to return a number of characters from a different dynamic text string in the same map document?

For example the title of my mxd might be 00051_BaseMap
I'd like to return the first five characters of this string dynamically so that I could have:

File Name: 00051_BaseMap
Project Number: 00051

Ie the project number is drawn out of the file name dynamic text string.