Computer Science for IGCSE & O level - Programming (Section 12 - No. 36)

What is the primary purpose of the `Substring` method?
To find the length of a string.
To extract a portion of a string.
To convert a string to uppercase.
To concatenate two strings.

Explanation

The Substring method is used to extract a part of a string based on a starting position and length.

Comments (0)

Advertisement