Computer Science for IGCSE & O level - Programming (Section 9 - No. 44)

What is the purpose of the 'length' string function?
To convert a string to lowercase.
To return the number of characters in a string.
To extract a portion of a string.
To replace parts of the string.

Explanation

The 'length' function gives the number of characters in a string.

Comments (0)

Advertisement