Const
Extracts a substring from text between start and end indices.
Operation data with substring containing the extracted text
substring
const result = substringText({ textContent: 'Hello World', start: 0, end: 5});// result.substring = "Hello" Copy
const result = substringText({ textContent: 'Hello World', start: 0, end: 5});// result.substring = "Hello"
Extracts a substring from text between start and end indices.