The .., range operator, when used like this :

string a = "abcd";
string b = a[0 .. a.count()-1];

sets b to "abc". is this the expected behavior?

  • funny behavior of ".... seany via Digitalmars-d-learn

Reply via email to