Use [] instead of { } for accessing string characters