thanks wysota, it worked perfect. i guess the problem was me using this: Qt Code: Switch view str.indexOf(rx); str.indexOf(rx); To copy to clipboard, switch view to plain text mode the index is always -1.
str.indexOf(rx);
Forum Rules
Bookmarks