Cheddar Documentation
Search
⌃
K
Cheddar Documentation
Search
⌃
K
Introduction
Syntax
Literals
Mathematics
Variables
Functions
Default Operators
Control Flow
Standard Library
String
Bytes
Count
Length
Match
Slice
Tail
Chars
Head
Lines
Ord
Split
Test
Chunk
Index
Lower
Reverse
Substitute
Upper
Developing
Powered By
GitBook
Bytes
type
returns
Getter
array<int>
Explanation
Returns the bytes in the given string as an array of character codes.
Examples
"foo"
.
bytes
==
[
102
,
111
,
111
]
""
.
bytes
==
[]
Previous
String
Next
Count
Last modified
3yr ago