Bernard Helyer:
> bool contains(T)(const(T)[] l, T a)
> {
> foreach(e; l) {
> if (a == e) {
> return true;
> }
> }
> return false;
> }
See also:
http://d.puremagic.com/issues/show_bug.cgi?id=3923
Bye,
bearophile