Change string access example for clarity

'T' was apparently mistaken by someone for True, so this is a minor edit to use a different example to make sure that doesn't happen again.
This commit is contained in:
Kuv 2020-06-04 12:41:35 +05:30 committed by GitHub
parent bf39f18a78
commit d56323d08e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ b == a # => True, a's and b's objects are equal
"Hello " "world!" # => "Hello world!"
# A string can be treated like a list of characters
"This is a string"[0] # => 'T'
"Hello world!"[0] # => 'H'
# You can find the length of a string
len("This is a string") # => 16