in ArcGIS 10 I have a model that iterates over feature classes in a workspace. Each FC table needs to know its own feature class name for text processing later. So, in the model I add a field to the attribute tables and need to write in either the feature class name or the %Name% variable that I use earlier in the model.
Sticking %Name% into the field calculator throws an error, and using %i% just records an integer. But I need a human readable string.