The String object represents a string value. More...
|Import Statement:||import QtQml 2.11|
The QML String object extends the JS String object with the arg() function.
See also ECMAScript Language Specification.
Returns a copy of this string with the lowest numbered place marker replaced by value, i.e., %1, %2, ..., %99. The following example prints "There are 20 items"
var message = "There are %1 items" var count = 20 console.log(message.arg(count))
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: