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.
2 parents b959049 + 54e69c0 commit 8d2199cCopy full SHA for 8d2199c
lib/elixir/lib/string.ex
@@ -927,7 +927,7 @@ defmodule String do
927
928
@doc """
929
Returns the grapheme in the `position` of the given utf8 `string`.
930
- If `position` is greater than `string` length, than it returns `nil`.
+ If `position` is greater than `string` length, then it returns `nil`.
931
932
## Examples
933
@@ -974,7 +974,7 @@ defmodule String do
974
975
Returns a substring starting at the offset given by the first, and
976
a length given by the second.
977
- If the offset is greater than string length, than it returns `""`.
+ If the offset is greater than string length, then it returns `""`.
978
979
980
0 commit comments