C system string to string. Методы класса string. строка (`str`). (new string[5])[0] = 5;. string и new string дока.