I am looking to label points on a map however the text is rather long and when put onto a stand label in ArcMap is very long and not very good looking.
Is there a way of putting a return in the middle (or after a specified number of characters) of a text field using the VB Script in the labels tab of a layers properties?
Thanks for any help!
This code will split the label in half:
Function FindLabel ( [name] )
firsthalf = left([name],len([name])/2)
secondhalf = right([name],len([name])/2)
FindLabel = firsthalf & vbnewline & secondhalf
End Function
It's not ideal but should but is the basic syntax that can be built upon.So for my test label it shows:"This is a very long label for really only needing to label Toronto"