
JavaScript String substring () Method - W3Schools
The substring() method extracts characters, between two indices (positions), from a string, and returns the substring. The substring() method extracts characters from start to end (exclusive).
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.
String.Substring Method (System) | Microsoft Learn
The starting character position is zero-based; in other words, the first character in the string is at index 0, not index 1. To extract a substring that begins at a specified character position and ends before the …
JavaScript Substring (): Extract a Substring from a String
In this tutorial, you'll learn how to use the JavaScript substring () method to extract a substring from a string.
Java String substring () Method - GeeksforGeeks
Apr 11, 2025 · In Java, the substring () method of the String class returns a substring from the given string. This method is most useful when you deal with text manipulation, parsing, or data extraction.
JavaScript substring () Method: Complete Guide with Examples
Apr 3, 2026 · JavaScript's substring() method extracts characters between two index positions in a string and returns the result as a new string. It is one of the most commonly used string methods in the …
JavaScript: String substring () method - TechOnTheNet
This JavaScript tutorial explains how to use the string method called substring () with syntax and examples. In JavaScript, substring () is a string method that is used to extract a substring from a …
JavaScript substring (): How to Extract Substrings Easily in JS
Oct 14, 2025 · This JavaScript substring example will show you how to extract parts of a string efficiently. In this blog, we will discuss what the substring () method in JS is, its syntax, real-world use …
Javascript String substring () - Programiz
In this article, you will learn about the substring () method of String with the help of examples.
SUBSTRING, PATINDEX and CHARINDEX string functions in SQL …
In this article, we explored the SUBSTRING, PATINDEX, and CHARINDEX string functions for SQL queries. You can retrieve a specific text, data using a combination of these functions.