< GCSE Computer Science

String Length

This function is used to find the length of any string you pass it, counting all the characters, including the spaces.

Example:

The code

someText = "Gary had a little lamb"
Print(Length(someText))

Produces

22

Position in a string

substrings


string conversion

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.