Returns a substring from the given string based on the specified start and end positions.
The source string from which to extract the substring.
An object containing Start and End properties that define the substring's range.
Start
End
The substring from str starting at pos.Start and ending at pos.End.
str
pos.Start
pos.End
4.0.0
2021-12-14
Returns a substring from the given string based on the specified start and end positions.