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
Reverse
type
returns
Getter
string
Explanation
Returns the reverse of a string. Handles unicode surrogates.
Examples
"🐐🐑"
.
rev
==
"🐑🐐"
"Hello! Hi!"
==
"!iH !olleH"
"Hi"
.
rev
==
"iH"
""
.
rev
==
""
Previous
Lower
Next
Substitute
Last modified
3yr ago