string[] mp = [ "s..", "...", "#g#"]; assert(mp.findFirst2D('s') == [0, 0]); assert(mp.findFirst2D('g') == [2, 1]);
See Implementation