About 52 results
Open links in new tab
  1. String.prototype.substring () - JavaScript | MDN

    Jul 10, 2025 · The substring() method of String values returns the part of this string from the start index up to and excluding the end index, or to the end of the string if no end index is supplied.

  2. String.prototype.substr () - JavaScript | MDN

    Aug 19, 2025 · The substr() method of String values returns a portion of this string, starting at the specified index and extending for a given number of characters afterwards.

  3. String - JavaScript | MDN

    May 22, 2026 · Description 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 …

  4. substring - XPath - MDN

    Jun 10, 2025 · The position within string the substring begins length Optional The length of the substring. If omitted, the returned string will contain every character from the start position to the end …

  5. Useful string methods - Learn web development | MDN

    Nov 10, 2025 · Useful string methods Previous Overview: Dynamic scripting with JavaScript Next Now that we've looked at the very basics of strings, let's move up a gear and start thinking about what …

  6. String.prototype.sub () - JavaScript - MDN

    Jul 10, 2025 · The sub() method of String values creates a string that embeds this string in a <sub> element (<sub>str</sub>), which causes this string to be displayed as subscript.

  7. substring-after - XPath - MDN

    Jun 10, 2025 · The substring-after function returns a string that is the rest of a given string after a given substring.

  8. Numbers and strings - JavaScript | MDN - MDN Web Docs

    Aug 26, 2025 · This chapter introduces the two most fundamental data types in JavaScript: numbers and strings. We will introduce their underlying representations, and functions used to work with and …

  9. Handling text — strings in JavaScript - Learn web development - MDN

    Aug 29, 2025 · Next, we'll turn our attention to strings — this is what pieces of text are called in programming. In this article, we'll look at all the common things that you really ought to know about …

  10. Regular expressions - JavaScript | MDN

    Mar 17, 2026 · Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec() and test() …