my $pos = ncindex($string, 'c'); # find first non-c