add case handling for repeatable chars in a string arrangement