I'm looking for a field calculator python statement to delete only the first two letters of string entries. For Ex:
!Name!.strip([0:2])
I know this syntax is incorrect.
Thanks a lot
|
I'm looking for a field calculator python statement to delete only the first two letters of string entries. For Ex:
I know this syntax is incorrect. Thanks a lot |
|||
|
|
|
You slice the string to be the third character through the end of the string (strings are zero indexed).
|
|||||
|
|