Sorry, this doesn't answer your question but in general, if you are not going to pass the parameter to another function that requires a 'string', then it is better to define that function parameter as 'const char[]':

Tuple!(string[], FnType) parse(const char[] source)
{
    // ...
}

That way you wouldn't need to call .idup on a mutable argument.

Ali

Oh, thank you very much ;)

Reply via email to