Skip to content

Commit

Permalink
Fixes #124
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Feb 7, 2021
1 parent 785191b commit 0222c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/docs/manual/latest/primitive-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var firstLetterOfAlphabet = /* "a" */97;

**Note**: Char doesn't support Unicode or UTF-8 and is therefore not recommended.

To convert a String to a Char, use `"a".[0]`. To convert a Char to a String, use `String.make(1, 'a')`.
To convert a String to a Char, use `String.get("a", 0)`. To convert a Char to a String, use `String.make(1, 'a')`.

## Regular Expression

Expand Down

0 comments on commit 0222c98

Please sign in to comment.