About 40,800 results
Open links in new tab
  1. 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 …

  2. std::basic_string<CharT,Traits,Allocator>::substr - cppreference.com

    If the requested substring extends past the end of the string, i.e. the count is greater than size() - pos (e.g. if count == npos), the …

  3. JavaScript String substr () Method - W3Schools

    The substr() method extracts a part of a string. The substr() method begins at a specified position, and returns a specified number of …

  4. substr () in C++ - GeeksforGeeks

    Sep 19, 2025 · In C++, the string substr () function is used to extract a substring from the given string. It generates a new string with …

  5. SUBSTR - Oracle Help Center

    The SUBSTR functions return a portion of char, beginning at character position, substring_length characters long. SUBSTR …

  6. PHP: substr - Manual

    If an invalid character range is requested, substr () returns an empty string as of PHP 8.0.0; previously, false was returned instead.

  7. substr - Microsoft MakeCode for micro:bit

    Take some part of the this string to make a smaller string (substring). You can copy a part of another string by getting a substring …

  8. SUBSTR ( ) function

    Jul 15, 2020 · The SUBSTR ( ) function returns characters from the string value starting at the character position specified by start. …

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

    Jul 19, 2017 · The substr () method returns the characters in a string beginning at the specified location through the specified number …

  10. string - C++ Users

    Position of the first character to be copied as a substring. If this is equal to the string length, the function returns an empty string. If …