Skip to content

Tag Archives: javascript-string

In this article, the task is to get the longest string from the array. Here are a few of the most used techniques discussed with… Read More
In this article, we are given a string containing some Non-ASCII characters and the task is to remove all Non-ASCII characters from the given string.… Read More
The padEnd() method in JavaScript is used to pad a string with another string until it reaches the given length. The padding is applied from… Read More
The padStart() method in JavaScript is used to pad a string with another string until it reaches the given length. The padding is applied from… Read More
In this article, we are given an HTML document containing an <textarea> element, the task is to change the content of an <textarea> element with… Read More
In this article, we will see how to globally replace a forward slash in a JavaScript string. We have a few methods to do this… Read More
ES6 string is an object that is used to represent a sequence of characters or manipulate the character’s sequence and It can contain zero or… Read More
In this article, we are given a string containing words and the task is to insert a new string at a given index. There are… Read More
In order to create a unique hash from a specific string, it can be implemented using its own string-to-hash converting function. It will return the… Read More
In this article, we will pad a string to get the determined length using JavaScript. To achieve this we have a few methods in javascript… Read More
In this article, the task is to get the nth occurrence of a substring in a string with the help of JavaScript. We have many… Read More
In this article, we are given a string and the task is to remove a character from the given string. We have many methods to… Read More
In this article, we will convert a string into a float in Javascript. We can convert a string into a float in JavaScript by using… Read More
In this article, given a string and the task is to convert it into camelCase using JavaScript. In this case, the first character of the… Read More
In this article, we will convert a currency string to a double value with jQuery or Javascript. There are two popular ways to convert currency… Read More

Start Your Coding Journey Now!