🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › String
String - JavaScript | MDN
String literals (denoted by double or single quotes) and strings returned from String calls in a non-constructor context (that is, called without using the new keyword) are primitive strings. In contexts where a method is to be invoked on a primitive string or a property lookup occurs, JavaScript will automatically wrap the string primitive and call the method or perform the property lookup on the wrapper object instead.
🌐
W3Schools
w3schools.com › js › js_string_methods.asp
JavaScript String Methods
2 weeks ago - Javascript strings are primitive and immutable: All string methods produce a new string without altering the original string.
Discussions

JavaScript String Extension Methods

Same story as usual: you should not manipulate the prototype of any built-in object because it often breaks stuff.

More on reddit.com
🌐 r/javascript
24
3
May 15, 2012
22 Javascript String Methods 🔥
Be careful when using String#length, some unicode characters count for 2. Take "🔥" for example. Splitting this string in half will break the emoji. More on reddit.com
🌐 r/learnjavascript
9
201
December 2, 2019
Essential JavaScript String Methods
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String More on reddit.com
🌐 r/node
10
10
September 19, 2018
7 Methods To Check If A String Contains A Substring In Javascript
check if a string contains a substring in javascript (in ES6): var I mean... I don't feel lodash or underscore are valid for this article. You're listing ways to check if a string has a substring, not external libraries that check that. Also, #7 has a typo: Syntax of includes method is include(string, substring) Should be includes. More on reddit.com
🌐 r/learnjavascript
1
0
February 18, 2019
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Core › Scripting › Useful_string_methods
Useful string methods - Learn web development | MDN
Now that we've looked at the very ... with built-in methods, such as finding the length of a text string, joining and splitting strings, substituting one character in a string for another, and more. Most values can be used as if they are objects in JavaScript....
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-string-methods
JavaScript String Methods - GeeksforGeeks
JavaScript provides a variety of built-in methods to work with strings — allowing you to extract, modify, search, and format text with ease.
Published   August 14, 2025
🌐
JavaScript.info
javascript.info › tutorial › the javascript language › data types
Strings
There are 3 methods in JavaScript to get a substring: substring, substr and slice. ... Returns the part of the string from start to (but not including) end.
🌐
Medium
medium.com › @akxay › javascript-string-methods-5588830241ed
JavaScript String Methods
October 10, 2024 - JavaScript String Methods JavaScript string methods are essential for manipulating and processing text in web development. Whether you’re formatting user input, searching within text, or …
🌐
Programiz
programiz.com › javascript › library › string
JavaScript String Methods | Programiz
In JavaScript, strings are used to represent and work with a sequence of characters. A string can represent an object as well as the primitive data type. JavaScript automatically converts primitive strings to String objects so that it's possible to use String methods and access properties even ...
Find elsewhere
🌐
freeCodeCamp
freecodecamp.org › news › javascript-string-handbook
The JavaScript String Handbook – How to Work with Strings in JS
January 5, 2024 - In this article, we covered the fundamentals of working with strings in JavaScript. We explored basic operations such as concatenation and finding the length of a string. Additionally, we delved into various string methods for changing case, extracting substrings, finding substrings, replacing substrings, and splitting strings.
🌐
DEV Community
dev.to › devsmitra › javascript-string-methods-a-cheat-sheet-for-developer-4kbk
Javascript String Methods: A Cheat Sheet for Developer - DEV Community
October 30, 2023 - /* ===== Static Methods ===== - String.raw(literal) -- Example: const fp = String.raw`C:\Development\profile\about.html` - String.fromCharCode(args) - String.fromCodePoint(args) */ /* ===== Instance Methods ===== -- Conditions - endsWith(searchString, endPosition) - startsWith(searchString, endPosition) - includes(searchString, position) -- Searching - search(regexp): Matches a regular expression with a string, returning the index of the first match in the string.
🌐
javascript.com
javascript.com › learn › strings
JavaScript Strings: The Basic Methods and Functions | JavaScript.com
Learn the basics of JavaScript Strings with code examples and small tutorials and descriptions on how each string function and method works.
🌐
freeCodeCamp
freecodecamp.org › news › javascript-string-tutorial-string-methods-in-js
JavaScript String Tutorial – String Methods in JS
March 10, 2023 - Primitive data does not have methods or properties, indeed. But when you call a method on a string, or access a property, JavaScript generates a wrapper object under the hood. In the end, methods and properties perform their job on this wrapper object.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › String › charAt
String.prototype.charAt() - JavaScript | MDN
July 10, 2025 - The charAt() method of String values returns a new string consisting of the single UTF-16 code unit at the given index.
🌐
DEV Community
dev.to › emmanuelthecoder › some-javascript-string-methods-and-how-to-use-them-22j0
Some JavaScript string methods and how to use them - DEV Community
January 3, 2023 - Strings are immutable in ... types are: Null, Undefined, Boolean, Number, BigInt and Symbol. There are about 24 string methods in JavaScript....
🌐
TutorialsPoint
tutorialspoint.com › javascript › pdf › javascript_strings_object.pdf pdf
JavaScript The Strings Object
The String object lets you work with a series of characters; it wraps Javascript's string primitive · data type with a number of helper methods. As JavaScript automatically converts between string primitives and String objects, you can call any · of the helper methods of the String object on a string primitive.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-string-reference
JavaScript String Reference - GeeksforGeeks
There is no static property in the string only instance property. Instance Property: An instance property is a property that has a new copy for every new instance of the class. JavaScript methods are actions that can be performed on objects.
Published   July 23, 2025
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › String › search
String.prototype.search() - JavaScript | MDN
When you want to know whether a pattern is found, and also know its index within a string, use search(). If you only want to know if it exists, use the RegExp.prototype.test() method, which returns a boolean.
🌐
YouTube
youtube.com › watch
#37 - Most Important String Methods In JavaScript
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
🌐
TypeScript
typescriptlang.org › docs › handbook › 2 › everyday-types.html
TypeScript: Documentation - Everyday Types
Functions are the primary means of passing data around in JavaScript. TypeScript allows you to specify the types of both the input and output values of functions. When you declare a function, you can add type annotations after each parameter to declare what types of parameters the function accepts. Parameter type annotations go after the parameter name: ... 42);Argument of type 'number' is not assignable to parameter of type 'string'.2345Argument of type 'number' is not assignable to parameter of type 'string'.Try