I'm using the Feature Class iterator in an ArcGIS Pro ModelBuilder model to iterate over all feature classes with a name that start with (eg) "blah".
I can make this work for our enterprise geodatabase using the wildcard:
I can make this work for file geodatabases using the wildcard:
Of course, the "*." is required for enterprise geodatabases (at least with MS SQL), because the feature classes are fully qualified with the database name and schema/owner name.
However, I cannot find a way to make this work reliably for both situations using the same iterator wildcard. If use the wildcard,
*blah*, it not only finds all feature classes that start with "blah", but of course it also finds some feature classes with "blah" elsewhere in their names (which I do NOT want).
Is there any way to iterate over feature classes where the name starts with a particular string that works for both file geodatabases AND for enterprise geodatabases?