About 33,400 results
Open links in new tab
  1. MySQL SUBSTR () Function - W3Schools

    Extract a substring from a string (start at position 5, extract 3 characters): The SUBSTR () function extracts a substring from a string …

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

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

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

    Returns a substring [pos, pos + count). If the requested substring extends past the end of the string, i.e. the count is greater than …

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

  6. PHP: substr - Manual

    Anyone coming from the Python world will be accustomed to making substrings by using a "slice index" on a string. The following …

  7. SUBSTR - Oracle Help Center

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

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

  9. c++ - How to use string.substr () function? - Stack Overflow

    Mar 19, 2010 · substr (i,j) means that you start from the index i (assuming the first index to be 0) and take next j chars. It does not …

  10. Using string functions: SUBSTR (), TRIM (), UPPER (), LOWER ()

    The SUBSTR () function takes the string we hand it in the parentheses and returns a part of the string that we define (ergo, …