Strings in extremal BTZ black holes