takes two strings as input and a char position  and manipulates them to upper and lowercase, and finds position of char