Code Duplication    Length = 7-7 lines in 2 locations

www/app/model/PHPMailer/PHPMailer/PHPMailer.php 2 locations

@@ 2100-2106 (lines=7) @@
2097
                    if (!$firstword) {
2098
                        if ($space_left > 20) {
2099
                            $len = $space_left;
2100
                            if ($is_utf8) {
2101
                                $len = $this->utf8CharBoundary($word, $len);
2102
                            } elseif (substr($word, $len - 1, 1) == '=') {
2103
                                --$len;
2104
                            } elseif (substr($word, $len - 2, 1) == '=') {
2105
                                $len -= 2;
2106
                            }
2107
                            $part = substr($word, 0, $len);
2108
                            $word = substr($word, $len);
2109
                            $buf .= ' ' . $part;
@@ 2121-2127 (lines=7) @@
2118
                            break;
2119
                        }
2120
                        $len = $length;
2121
                        if ($is_utf8) {
2122
                            $len = $this->utf8CharBoundary($word, $len);
2123
                        } elseif (substr($word, $len - 1, 1) == '=') {
2124
                            --$len;
2125
                        } elseif (substr($word, $len - 2, 1) == '=') {
2126
                            $len -= 2;
2127
                        }
2128
                        $part = substr($word, 0, $len);
2129
                        $word = substr($word, $len);
2130