[SOLVED] string endsWith in QML for url detection
QML and Qt Quick
5
Posts
2
Posters
5.0k
Views
1
Watching
-
i have tried to take a string like var urlString = http://rss.cbc.ca/lineup/canada.xml
how am i able to see if the urlString endsWith ".xml"
-
This should do: http://qt-project.org/doc/qt-4.8/qstring.html#endsWith