About 11,900,000 results
Open links in new tab
  1. JavaScript Strings - W3Schools

    Normally, JavaScript strings are primitive values, created from literals: But strings can also be defined as objects with the keyword new: Do not create String objects. The new keyword …

  2. JavaScript Strings - GeeksforGeeks

    Mar 10, 2025 · What is a string in JavaScript? A string is a sequence of characters used to represent text. Strings are one of the fundamental data types in JavaScript and are enclosed …

  3. String - JavaScript | MDN - MDN Web Docs

    Apr 10, 2025 · Strings can be created as primitives, from string literals, or as objects, using the String() constructor: String primitives and string objects share many behaviors, but have other …

  4. The Beginner's Guide to JavaScript Strings By Examples

    In this tutorial, you will learn about the JavaScript strings and their basic operations such as accessing characters and comparing strings.

  5. Strings - The Modern JavaScript Tutorial

    Jan 17, 2024 · In JavaScript, the textual data is stored as strings. There is no separate type for a single character. The internal format for strings is always UTF-16, it is not tied to the page …

  6. JavaScript String Tutorial – String Methods in JS

    Mar 10, 2023 · In JavaScript, a string is a data type representing a sequence of characters that may consist of letters, numbers, symbols, words, or sentences. Strings are used to represent …

  7. How to work with strings in JavaScript - Pluralsight

    Apr 7, 2025 · How to declare a string in JavaScript. Declaring a string in JavaScript means defining a variable that will hold a string value. To declare a string variable in JavaScript, you …

  8. JavaScript Strings | W3Docs JavaScript Tutorial

    In JavaScript, the strings are used for storing and manipulating text. No separate type exists for a single character. The strings internal format is always UTF-16. A string represents zero or …

  9. JavaScript Strings: The Basic Methods and Functions | JavaScript

    Strings have their own built-in variables and functions, also known as properties and methods. Here are some of the most common ones. A string’s length property keeps track of how many …

  10. JavaScript String Methods - W3Schools

    There are 4 methods for extracting string characters: The charAt() method returns the character at a specified index (position) in a string: The charCodeAt() method returns the code of the …

Refresh