On 12/19/2022 7:53 PM, Steven Schveighoffer wrote: >> // Create an array with a capacity equal to the length of the string >> auto substrings = array!string(s.length); > > Not very correct ;) But it *looks* seductively plausible, yet has insidious errors. I predict that using AI generated code is going to result in strange problems.