ToCharacterCode
The Unicode code point of each character of s, as a list of integers.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
ToCharacterCode✓ToCharacterCode(s){code1, code2, …}, one per Unicode CODE POINT of sTyped signatures
| Type | Package | Applies |
|---|---|---|
(string) -> list<integer> | combinatorics | always |
Details
- Counts Unicode CODE POINTS, not UTF-16 units — the same convention compute-engine's own
Charactersalready uses, so an astral character (outside the Basic Multilingual Plane, such as most emoji) counts as one.
Examples
About
| Examples | 3 |
|---|---|
| Checked against | Wolfram Language 3 agree |
| Crosswalk | Wolfram Language |
See also: FromCharacterCode, StringLength