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 基本类型
.