godot.string

Godot's ref-counted wchar_t String class.

Members

Enums

gs
eponymoustemplate gs(string str)

Create a GodotStringLiteral.

Functions

toDString
string toDString(String str)

Constructs string from str

toGodotString
String toGodotString(string str)

Constructs Godot String from str

Structs

GodotStringLiteral
struct GodotStringLiteral(string data)
Undocumented in source.
String
struct String

This is the built-in string class (and the one used by GDScript). It supports Unicode and provides all necessary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources.

Meta