I am trying to build a model that iterates through feature classes in a
.gdb and uses the name of
feature class (they are named by state abbreviations) to make a new layer from a second
feature class based on that name.
The second feature class,
osm_bing_diff_uniqueid has a field called
st_abbr that identifies a feature by state abbreviation. What I want to do is parse the
Name output of the first feature class into the expression for the
Make Feature Layer of the second feature class. For example, if the Name =
AL_Bldg_FP_Parcels, I to make a feature class of all the features in
osm_bing_diff_uniqueid where the
st_abbr field value is
AL. I am a little confused as to how to use the Name as an input and parse it into the expression.