August 26, 2017 in for testing | ||||
---|---|---|---|---|
| ||||
while(str[i] in [' ', '\r', ...]) rather than having to do each test individually. |
August 26, 2017 Re: in for testing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johnson | On Saturday, 26 August 2017 at 21:50:14 UTC, Johnson wrote:
> while(str[i] in [' ', '\r', ...])
>
> rather than having to do each test individually.
while(str[i].among(' ', '\r', ...))
|
Copyright © 1999-2021 by the D Language Foundation