We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61cf45e commit 00ebd0cCopy full SHA for 00ebd0c
doc/src/manual/strings.md
@@ -335,7 +335,7 @@ julia> s[1:4]
335
Because of variable-length encodings, the number of characters in a string (given by [`length(s)`](@ref))
336
is not always the same as the last index. If you iterate through the indices 1 through [`lastindex(s)`](@ref)
337
and index into `s`, the sequence of characters returned when errors aren't thrown is the sequence
338
-of characters comprising the string `s`. Thus we have the identity that `length(s) <= lastindex(s)`,
+of characters comprising the string `s`. Thus `length(s) <= lastindex(s)`,
339
since each character in a string must have its own index. The following is an inefficient and
340
verbose way to iterate through the characters of `s`:
341
0 commit comments