Can't get code to work in string cartography level

What am I missing?