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.
JavaScript String Extension Methods
Same story as usual: you should not manipulate the prototype of any built-in object because it often breaks stuff.
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
Essential JavaScript String Methods
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String More on reddit.com
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
Videos
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
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 ...
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.
W3Schools
w3schools.com › jsref › jsref_obj_string.asp
JavaScript String Reference
All string methods return a new value.
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.
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.
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