About 399,000 results
Open links in new tab
  1. String - JavaScript | MDN - MDN Web Docs

    Apr 10, 2025 · Strings are useful for holding data that can be represented in text form. Some of the most-used operations on strings are to check their length, to build and concatenate them …

  2. 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 …

  3. JavaScript Strings - GeeksforGeeks

    Mar 10, 2025 · We can either use a single quote or a double quote to create a string. We can use either of the two, but it is recommended to be consistent with your choice throughout your …

  4. 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 …

  5. JavaScript String (with Examples) - Programiz

    In JavaScript, we create strings by surrounding them with quotes or backticks. Single quotes and double quotes are practically the same, and you can use either of the two. Backticks are …

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

    Summary: in this tutorial, you’ll learn about the JavaScript string primitive type and how to use it to define strings. JavaScript strings are primitive values and are immutable. This means that …

  7. 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 …

  8. The JavaScript String Handbook – How to Work with Strings in JS

    Jan 5, 2024 · In JavaScript, strings are sequences of characters enclosed in either single or double quotes. This flexibility allows developers to choose the quotation style based on …

  9. 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 …

  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 …