in above table i want remove data after 2 comma. can any pls suggest.
You can do this in Arcade
var arr = Split($feature.Field_Name, ',') if (Count(arr) < 3) return $feature.Field_Name; return Concatenate([arr[0], arr[1], arr[2]], ',');
@KenBuja can u please give for calculation in arcmap
You should mention what you're working in when posting a question.
This Python script will do what you want
def Calc(field): arr = field.split(",") if (len(arr) < 3): return field else: return ",".join(arr)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.