what does section return when the seperator doesnt exist in the string? or if a field after the end is requested?
QString("") or QString() or would it even produce an error?
thanks!
what does section return when the seperator doesnt exist in the string? or if a field after the end is requested?
QString("") or QString() or would it even produce an error?
thanks!
Originally Posted by Bertolt Brecht
If the separator doesn't exist it will probably return the whole string. If you want a field after the end, it will probably return an empty string. You know... you could write a three line program to check that yourself...
Bookmarks