![JavaScript basic: Create a new string from a given string, removing the first and last characters of the string if the first or last character are 'P' - w3resource JavaScript basic: Create a new string from a given string, removing the first and last characters of the string if the first or last character are 'P' - w3resource](https://www.w3resource.com/w3r_images/javascript-basic-image-exercise-67.png)
JavaScript basic: Create a new string from a given string, removing the first and last characters of the string if the first or last character are 'P' - w3resource
![javascript - Splitting a string by newline character succeeds but removes the last character from the string - Stack Overflow javascript - Splitting a string by newline character succeeds but removes the last character from the string - Stack Overflow](https://i.stack.imgur.com/HiWM8.jpg)
javascript - Splitting a string by newline character succeeds but removes the last character from the string - Stack Overflow
![JavaScript basic: Remove a character at the specified position of a given string and return the new string - w3resource JavaScript basic: Remove a character at the specified position of a given string and return the new string - w3resource](https://www.w3resource.com/w3r_images/javascript-basic-image-exercise-22.png)
JavaScript basic: Remove a character at the specified position of a given string and return the new string - w3resource
![Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript - YouTube Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript - YouTube](https://i.ytimg.com/vi/DtpyTbkQ4S8/maxresdefault.jpg)
Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript - YouTube
![Https://www.freecodecamp.org/learn/javascript -algorithms-and-data-structures/basic-javascript/use-bracket-notation-to- find-the-nth-to-last-character-in-a-string - JavaScript - The freeCodeCamp Forum Https://www.freecodecamp.org/learn/javascript -algorithms-and-data-structures/basic-javascript/use-bracket-notation-to- find-the-nth-to-last-character-in-a-string - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/3/3/33d58935e44a2b8ee492493ac878571db5f22562.gif)