Skip to content

Strings

Frederik Tobner edited this page Dec 17, 2022 · 2 revisions

Strings in cellox are, like in most other programming languages immutable. They are a part of the group of values that are categorized as 'cellox objects'. The escape sequences a that a string literal contains are resolved at compile time. The elements in the string can be accessed by the index.

To create a new string based on another string cellox offers some native functions and the concept of a slice, a subset of another string.

Clone this wiki locally