[PyKDE] Comparing QStrings

Phil Thompson phil at river-bank.demon.co.uk
Tue Jul 2 10:26:54 BST 2002


jblazi wrote:

> How can I compare two QStrings? Have I to apply str() to 
> both?


QString.compare(s1,s2)
QString.localeAwareCompare(s1,s2)

Phil




More information about the PyQt mailing list