AnsweredAssumed Answered

Script to Create New Label by Deleting after a comma & Splitting into 2 lines

Question asked by tiamo on May 16, 2014
Latest reply on May 16, 2014 by iamurray
I am using the ESRI CBSA feature class, and the names are super long, for example:

Anniston-Oxford-Jacksonville, AL Metropolitan Statistical Area

I want a VBscript or python script to use as a label expression to delete all words after the comma, and then stack the label into 2 lines, for example:


Any suggestions? Thanks!