hyphenate
Returns the indices inside word before which a hyphen may be inserted, in ascending order. An index i means the word may split as word.take(i) + "-" + word.drop(i). Honours leftMin/rightMin, so the smallest possible value is leftMin and the largest is word.length - rightMin.
Hyphenation is case-insensitive (patterns are lower-case); the returned indices refer to the original word. Words containing a literal -, digits, or fewer than leftMin + rightMin letters yield no break points.