Refactor of String#start_with? comparison logic.