Here is an example of the fields I need to concatenate:
In this case only Street Name and Post Type are populated. But in other cases, all of those fields could contain street name components that need to be concatenated. Is there an easy way to concatenate only the fields that are not <Null>?
Solved! Go to Solution.
I found a better solution, using the strip() command don't need the if statement
using replace at the ends gets rid of the None
(str( !PRE_DIR!).strip()+' '+str(!PLAINST!).strip()+' '+str(!SUF_DIR!).strip()+' '+str(!STREETTYPE!).strip()).replace('None','').strip()