const text = "Hello World";
const word = text.substring(6, 8);
alert(word);  // "Wo"