godot.string

Godot's ref-counted wchar_t String class.

Members

Enums

gn
eponymoustemplate gn(string str)

Create a GodotStringNameLiteral.

gs
eponymoustemplate gs(string str)

Create a GodotStringLiteral.

Structs

Char16String
struct Char16String
Undocumented in source.
Char32String
struct Char32String
Undocumented in source.
CharString
struct CharString
Undocumented in source.
CharWideString
struct CharWideString
Undocumented in source.
GodotStringLiteral
struct GodotStringLiteral(string data)
Undocumented in source.
GodotStringNameLiteral
struct GodotStringNameLiteral(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.

StringName
struct StringName
Undocumented in source.

Meta