Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Middle Characters by Moff
function middle(text) {
let s = text.length;
return text.slice((s >> 1) + (s & 1) - 1, (s >> 1) + 1);
}
June 15, 2018