Function BasicString.opIndexAssign
Assign character at specified location pos
to value val
.
BasicString . CharType opIndexAssign
(
const BasicString . CharType val,
const size_t pos
) pure nothrow @nogc scope @trusted;
Returns 'val'.
Examples
BasicString!char str = "abcd";
str[1] = 'x';
assert(str == "axcd");