Find a reference entry

JavaScript Functions / Methods

Collection of JavaScript Functions and Methods

Reference entries

Collection of JavaScript Functions and Methods

__COUNT__ entries on this page

JavaScript String.startsWith() MethodJavaScript string startsWith() is a method that returns a boolean value after determining whether the given string starts with a specified string value.JavaScript String.substr() MethodJavaScript string.substr() method extracts part of a string that can be used as a substring. This method can be used to define the starting and ending paragraphs of the new substrings. The original string won't get changed with the use of the substr() method.JavaScript String.substring() MethodJavaScript string.substring() is a built-in method in JavaScript that is used to extract part of a string and create a substring. The string.substring() method returns an empty string if both parameters have equal numbers.JavaScript string.toLocaleLowerCase() MethodJavaScript string.toLocaleLowerCase() is a built-in method that converts a given string to lowercase based on the locale-specific case mappings. When multiple locales exist in an array, the toLocaleLowerCase() method chooses the best available locale.JavaScript String.toLocaleUpperCase() MethodThis article explains about toLocaleUpperCase() method of JavaScript. String.toLocaleUpperCase() is a built-in method that converts the lowercase characters of a string to uppercase to create a new string. While converting the characters to uppercase, the toLocaleUpperCase() method uses the locale-specific case mappings.JavaScript String.toLowerCase() MethodThis article explains about String.toLowerCase() method that creates a new string by changing the uppercase letters to lowercase. The original string's content remains unchanged with JavaScript's toLowerCase() method.JavaScript String.toString() MethodThexa0toString()xa0method, which is a part of the JavaScript string library, is described in this article.JavaScript String.toUpperCase() MethodThe toUpperCase() method of the JavaScript string library which helps in string manipulation is described in this article.JavaScript String.trim() MethodThis article discusses the JavaScript string.trim() method to remove the white space from both ends of a string. Since the string.trim() method is created for a string, users cannot use it for arrays.JavaScript String.valueOf() MethodThe string.valueOf() method is used to get the primitive value of a string object.