GCSE Computer Science/String handling
Jump to navigation
Jump to search
String Length[edit | edit source]
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