find either the next upper or next lower case character index in string str, based on the numeric option. starting from index start and optionally ending at exclusive-index end
str
option
start
end
find either the next upper or next lower case character index in string
str
, based on the numericoption
.starting from index
start
and optionally ending at exclusive-indexend