Select to view content in your preferred language

field calculator - copying field without last letter/number

4116
12
Jump to solution
06-25-2015 08:16 AM
MassimoSpirlandelli
Emerging Contributor

I have to copy a field (text) into another field (text) except the last letter/number.

For istance:

in field "A" with attribute  "1111A"

I want to get just 1111 in field "B"

how can I do it?

thank you in advance.

0 Kudos
12 Replies
WesMiller
Deactivated User

In your field calculator !fieldName![:-1]

MassimoSpirlandelli
Emerging Contributor

thank you

SepheFox
Deactivated User

Haha! So funny that we all posted the right answer at the same time

0 Kudos