Topics

JavaScript String

About this topic: Articles tagged __TAG__

Showing 94 articles

Topics

Articles

Showing 94 articles

Reference JavaScript String.concat() Method The javaScript String concat() is a built-in function that concatenates the strings together and returns the concatenated string. Reference JavaScript string.includes() Method The JavaScript string.includes() method look into a string to check whether it exists or not and returns a boolean value based on the given string. Reference JavaScript String.repeat() Method This article introduces the string repeat() method, the built-in JavaScript string library method. Reference JavaScript String.startsWith() Method JavaScript string startsWith() is a method that returns a boolean value after determining whether the given string starts with a specified string value. Reference JavaScript String.indexOf() Method The indexOf() method is a built-in JavaScript method that returns the first incidence of the string in the string calling the method. Reference JavaScript String.endsWith() Method The JavaScript endsWith() is a method which is used to determine whether a specified string is present at the end of a string or not with a boolean. Reference JavaScript String.charCodeAt() Method The JavaScript string.charCodeAt() is a built-in function that returns the UTF-16 unit code of character at the given index of the string. Reference JavaScript String.valueOf() Method The string.valueOf() method is used to get the primitive value of a string object. Reference JavaScript String.trim() Method This 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 … Reference JavaScript String.toString() Method Thexa0toString()xa0method, which is a part of the JavaScript string library, is described in this article. Reference JavaScript String.toLowerCase() Method This 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 … Reference JavaScript String.toLocaleUpperCase() Method This article explains about toLocaleUpperCase() method of JavaScript. String.toLocaleUpperCase() is a built-in method that converts the lowercase characters of a string to … Reference JavaScript string.toLocaleLowerCase() Method JavaScript 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 … Reference JavaScript String.substring() Method JavaScript 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 … Reference JavaScript String.substr() Method JavaScript 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 … Reference JavaScript String.replace() Method The JavaScript string.replace() method returns a new string by replacing the old string with the new given one. Reference JavaScript String.match() Method The JavaScript string.match() method returns an array of matched strings against the regular expression. Reference JavaScript String.localeCompare() Method The string.localeCompare() method compares two strings and returns a number based on the result. Reference JavaScript String.lastIndexOf() Method The string.lastIndexOf() method looks into a string value to find the last event of it and returns the 0-based index position of the string if it founds otherwise returns -1. Reference JavaScript String.fromChar() Method The JavaScript String.fromCharCode() is a built-in function that returns the UTF-16 unit code of a character at the given index of the string. How-tos Non-Breaking Space in a JavaScript String This tutorial shows us how a non-breaking space represented in a JavaScript string. Reference JavaScript String.toUpperCase() Method The toUpperCase() method of the JavaScript string library which helps in string manipulation is described in this article.

← All topics