AnsweredAssumed Answered

reclassify based on parts of field

Question asked by ahuygen on Nov 15, 2018
Latest reply on Nov 15, 2018 by bixb0012

Hi. How do i code in python an else/if statement where i can find in another field parts of a string.

 

example complete string :

if (A == "ABE"):
return "abek"

 

example looking for part ( not working)

if [A] <> "G":
return "gbk"

 

bye

Outcomes