Label In ARCGIS

I want to display the label after a character in ArcGIS desktop

Function FindLabel ( [LABEL]  )
la = InStr([LABEL],"-")
lab=len([LABEL])-la
FindLabel = Right([LABEL],lab)
End Function




here i have used the two variable - "la"& "lab"
Ex:- My Label field having ABC-25367. I want to display 25367
la variable will store the 4th position means value will be 4
lab = (length  of label (9)-la(4)) = 5
Using Right expression, It will display the 5 right side characters (25367)

Comments

Popular posts from this blog

Create Blank/Empty MXD with Same Symbology

ARC2EARTH Installation Problem in ArcGIS 10

ORA-00001;unique constraint error