AnsweredAssumed Answered

Printing Feature Class names that do and dont contain keywords

Question asked by Adam.Thompson_ on Nov 8, 2018
Latest reply on Nov 13, 2018 by Adam.Thompson_

Hey All,


Another quick question that is probably simple but I just can't seem to get it to work.


All I am trying to do is search through folders and subfolders, Find feature classes that if;

A) Contain the word 'Intersect' in the shapefile name and if so print the name

B) DO NOT contain the word 'Intersect' in the shapefile name and if so, append to my list.


Here is what I have gotten so far, but I just get empty output returns. 


Any help is appreciated thanks!