Bill Baxter wrote: > bool startsWith(string s, string sub) { > return (s.length>=sub.length && s[0..sub.length]==sub); > } > bool endsWith(string s, string sub) { > return (s.length>=sub.length && s[$-sub.length..$]==sub); > } I think those would be useful for any type T. Array properties? L.