Assigns a value to the character with the index pos.
Value.
Position.
Assigned value.
Precondition: length > pos.
auto s = String("alea iacta est."); s[0] = 'A'; assert(s[0] == 'A');
See Implementation
Assigns a value to the character with the index pos.