> ≠\V > > > Unfortunately, it's not quite right. Does anyone have an idea how to coerce > that one into being right?
Elias, I am aware of what does your code, but you can't achieve what you want with something that short AFAIK); did you try my code? You can probably improve it, but have alook at the last part: 2|⊤\2+V or: 2||\2+V which can isolate the first 1 of each substring? I am not an expert of APL, but I spent time on your request, and I don't think you can expect a three-characters answer. Regards, -- Th. Baruchel