Posts by Manoj Srinivas

Author Biographical Info: Not available

Convert first letters of a string to uppercase in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert the first letters of a string to uppercase in JavaScript. Variables used in code str – string const str = "This is a Tutorial i.... Read More

Convert string to array in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert string to array in JavaScript. Converting String to a character array in JavaScript Variables used in code str – string const s.... Read More

How to split a string in JavaScript with built-in and custom function

By Manoj Srinivas

In this tutorial, we will learn how to split a string into an array of substrings in JavaScript. Splitting a string in JavaScript Variables used in code str – the string that.... Read More

Convert a string to a number in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert a string to a number in JavaScript. In projects, it is often needed to convert number formatted string into integer formatted number .... Read More

How to reverse a string in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to reverse a string in JavaScript. Reversing a string in JavaScript Variables used in the codeĀ  str – the name of the variable where we s.... Read More

How to replace all occurrences of a character in a string in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to replace all occurrences of a character in a string in JavaScript. String references in Javascript are immutable. This means that once a Strin.... Read More

Related Posts