string QML Basic Type

string type refers to a free form text string in quotes, e.g. "Hello world!".

Strings have a length attribute that holds the number of characters in the string.

范例:

Text { text: "Hello world!" }
							

此基本类型由 QML 语言提供。