Ali Çehreli:

When you eagerly need an actual array of the elements, call std.array.array on Result:

import std.array;
import std.algorithm;

void main()
{
    auto input = "hello world";
    auto splittedWords = input.splitter(' ').array;

Or just use the eager split() function.

Bye,
bearophile

Reply via email to