String in Verse
Verse uses string as the type for storing and handling text, such as "Hello Verse" and "Epic Games". In Verse, a string can contain letters, numbers, punctuation, spaces, and emojis. A string containing no characters "" is called an empty string.
You can include predefined string values within your code as string literals. A string literal is a sequence of characters in your code surrounded by double quotation marks " ".
The following is an example of how to create a string variable named Hello, and initialized with the string literal "Hello world":
Hello : string = "Hello world"
Hello : string = "Hello world"
Copy full snippet(1 line long)
Character Encoding
Character encoding is the mapping between a text character and data that the computer can understand, called a code point.
Verse uses the UTF-8 Unicode character-encoding scheme, a standard developed by the Unicode Consortium to provide comparable support for characters across languages, platforms, and devices.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.