I am trying to use the field calculator to populate a new field with just the first two words from another field.
I can only get the first word, or the second word, but not both to populate the new field. Where am I going wrong with the following code?
!NEWFIELD!.split(" ")[0] + "_" + !NEWFIELD!.split(" ")[1]
ERROR 000539: Traceback (most recent call last): File "<expression>", line 1, in <module>IndexError: list index out of range