Method string_assignment()->`[]() class string_assignment Method `[] int res = string_assignment()[ i ] Description String index operator.