
James S. answered 09/15/19
Specializing in Full-Stack Development, SQL, JavaScript, HTML, and CSS
You can also use the Array.prototype.map function.
const map = Array.prototype.map
const newString = map.call(stringVal, Aletter => {
// Logic to divide the string in half and convert the characters.
return value;
})