Multiply a string?
Neto
netorib94 at gmail.com
Sat Jun 21 16:40:33 UTC 2025
On Saturday, 21 June 2025 at 16:23:42 UTC, H. S. Teoh wrote:
> On Sat, Jun 21, 2025 at 04:18:37PM +0000, Neto via
> Digitalmars-d-learn wrote:
>> On Saturday, 7 June 2025 at 16:42:51 UTC, Sergey wrote:
> [...]
>> > ```d
>> > void main() {
>> > string error_message = "D's desing is far from perfect";
>> > writeln(" ".repeat(5).join, "[INFO]:", Clock.currTime(),
>> > " - ",
>> > error_message);
>> > }
>> > ```
>>
>> is `repeat` from a native module? if so, which one?
>
> std.range
>
>
> T
thanks
More information about the Digitalmars-d-learn
mailing list