Perhaps due to my ignorance, but I had a use case where WHICHC function was ideal.
The problem was that the array I had was multidimensional, so I had to resort to DO i=1 TO...looping.
Just allowing a multidimensional array to be specified, but with 2nd dimension specified with a constant would be an improvement:
do i=1 to x;
pos = whichc('#',of space[*,i]);
end;