Skip to content

Tag Archives: javascript-string

Comparing strings in a case-insensitive manner means comparing them without taking care of the uppercase and lowercase letters.  To perform this operation the most preferred… Read More
In this article, we are given an input string and the task is to reverse the input string. We have various methods to reverse a… Read More
The array of objects can be sorted by using user-defined function. This function compares the array of objects by its property. For example, the first… Read More
Sometimes it is needed to convert a string representing a boolean value “true”, or “false” into the intrinsic type of JavaScript. In this article, we… Read More
In this article, we will convert the first letter of a string to uppercase in Javascript.  There are a number of ways to capitalize the… Read More
The Javascript String() Constructor is used to can be used as a constructor or a function. It can be used to declare a string or… Read More
In this article, we will check whether a string contains a specified substring or not.  The includes() method can be used to check whether a… Read More
The String constructor property in JavaScript is used to return the string constructor function for the object. The function which is returned by this property… Read More
JavaScript Strings are primitive data types and are used for storing and manipulating text. It can contain zero or more characters within quotes. In this… Read More
The Javascript string.search() method is the inbuilt method in JavaScript that is used to search for a match in between regular expressions and a given… Read More
The string.replace() is an inbuilt method in JavaScript that is used to replace a part of the given string with another string or a regular… Read More
The string.normalize() is an inbuilt method in javascript which is used to return a Unicode normalization form of a given input string. If the given… Read More
The string.substring() is an inbuilt function in JavaScript that is used to return the part of the given string from the start index to the… Read More
The string.toString() is an inbuilt method in JavaScript that is used to return the given string itself. Syntax:  string.toString() Parameters: It does not accept any… Read More
The string.codePointAt() is an inbuilt method in JavaScript that is used to return a non-negative integer value i.e, the code point value of the specified… Read More

Start Your Coding Journey Now!