![Santiago on X: "3⃣ Removing the prefix and suffix of a string There are two new methods added to the str object to remove the prefix and suffix of the string. We Santiago on X: "3⃣ Removing the prefix and suffix of a string There are two new methods added to the str object to remove the prefix and suffix of the string. We](https://pbs.twimg.com/media/EjlsTRwWsAAXb9S.jpg:large)
Santiago on X: "3⃣ Removing the prefix and suffix of a string There are two new methods added to the str object to remove the prefix and suffix of the string. We
![This code is supposed to remove all periods in a string, but it only removes one of the periods. How do I make it remove all the periods? : r/learnjavascript This code is supposed to remove all periods in a string, but it only removes one of the periods. How do I make it remove all the periods? : r/learnjavascript](https://i.redd.it/z1e3zo26p3671.png)
This code is supposed to remove all periods in a string, but it only removes one of the periods. How do I make it remove all the periods? : r/learnjavascript
![How to Trim String in JavaScript. It's super simple to remove whitespace… | by Samantha Ming | DailyJS | Medium How to Trim String in JavaScript. It's super simple to remove whitespace… | by Samantha Ming | DailyJS | Medium](https://miro.medium.com/v2/resize:fit:880/0*wLsLQS2wWODdvfNf.png)