22. Substring. Explanation for position numbers



position numbers confusing

Parameter Values
Parameter Description
start Required. The position where to start the extraction. First character is at index 0
end Optional. The position (up to, but not including) where to end the extraction. If omitted, it extracts the rest of the string


The explanation you have and in this referenced exercise looks good enough.

That said, check this also: w3schools - Substring


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.