string QML Basic Type
A string is a free form text in quotes, e.g. "Hello world!".
A string is a free form text in quotes, e.g. "Hello world!".
範例:
Text { text: "Hello world!" }
Strings have a
length
attribute that holds the number of characters in the string.
另請參閱
QML 基本類型
.