$string = adjust_case('s', "stuff\n"); print $string; # which would print Stuff with a newline