IF- ELSE script in the field calculator (number classification)

1074
10
Jump to solution
05-21-2020 11:14 AM
RTMRTM
by
New Contributor II
I have a field where they stored phone numbers, called "Sent Phone"
in my country the phone numbers have 8 characters
I made a field called "Length" ,to find out how many characters the field has "Sent Phone"
then I made a field called "New Phone"  to classify only numbers that have 8 characters
I need to make a script that pastes the numbers that have 8 catechists in "New Phone" and if it doesn't have 8, put 0
IDSent PhoneLengthNew Phone
1310
22220
321330
4110
533445678833445678
61120
7210
812569826812569826
912560912812560912
1034235677834235677
sorry for my bad English
0 Kudos
10 Replies
RTMRTM
by
New Contributor II

Thank you
It worked

0 Kudos