Also, `string:sub_string/3` will crash when `String` is shorter than 2.