Qt Reference Documentation

QML Basic Type: string

A string is a free form text in quotes, e.g. "Hello world!".

Example:

 Text { text: "Hello world!" }

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

See also QML Basic Types.