diff --git a/docs/basic_string/BasicString.erase.html b/docs/basic_string/BasicString.erase.html index 2ba4ec0..ba639ac 100644 --- a/docs/basic_string/BasicString.erase.html +++ b/docs/basic_string/BasicString.erase.html @@ -95,21 +95,21 @@

Function BasicString.erase

Removes specified characters from the stri BasicString!char str = "123456"; str.erase(1, 2); - assert(str == "23"); + assert(str == "1456"); } { BasicString!char str = "123456"; str.erase(str.ptr + 2); - assert(str == "12456"); + assert(str == "12"); } { BasicString!char str = "123456"; str.erase(str[1 .. $-1]); - assert(str == "2345"); + assert(str == "16"); } diff --git a/docs/basic_string/BasicString.opAssign.html b/docs/basic_string/BasicString.opAssign.html index 7ac1ffe..6d14074 100644 --- a/docs/basic_string/BasicString.opAssign.html +++ b/docs/basic_string/BasicString.opAssign.html @@ -119,7 +119,13 @@

Function BasicString.opAssign

Assigns a new value assert(str == "abc"); str = -123; -assert(str == "-123"); +assert(str == "-123"); + +str = BasicString!char("42"); +assert(str == "42"); + +str = BasicString!wchar("abc"); +assert(str == "abc");