April 28, 2019
Category: JavaScript Questions
April 27, 2019
How to Find the Longest Word in a String in Javascript
In this tutorial, you will learn how to find the longest word in a string in javascript. A sentence consists of multiple words and the length of those words vary. There could be multiple long words in a string and I assume you only need any one of them. Finding the longest word in a
April 26, 2019
How to Repeat a String n Times in Javascript
In this tutorial, you will learn how to repeat a string n times in javascript. As a newbie, it could be a bit tricky for you, but as a web developer, you should be aware of how to do so. There are numerous ways to repeat a string multiple times but we are going to
April 24, 2019
How to Reverse String in Javascript
In this tutorial, you will learn how to reverse string in javascript. Reversing a string simply means reversing the order of letters in a given string. This is not something that is commonly required but you must know how to do it in the right way. To get an idea how your string will look
April 23, 2019
How to Capitalize the First Letter of Each Word in a String in Javascript
In this tutorial, you will learn how to capitalize the first letter of each word in a string in javascript. There are different case styles for a word such as upper case, lower case, camel case, etc. The case style in which you have the first letter of a word in the capital is known